#040fb2 Color Information
In a RGB color space, hex #040fb2 is composed of 1.6% red, 5.9% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 97.8% cyan, 91.6% magenta, 0% yellow and 30.2% black. It has a hue angle of 236.2 degrees, a saturation of 95.6% and a lightness of 35.7%. #040fb2 color hex could be obtained by blending #081eff with #000065. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 70
-
- C 98
- M 92
- Y 0
- K 30
● #040fb2 color description : Dark blue.
#040fb2 Color Conversion
The hexadecimal color #040fb2 has RGB values of R:4, G:15, B:178 and CMYK values of C:0.98, M:0.92, Y:0, K:0.3. Its decimal value is 266162.
Hex triplet | 040fb2 | #040fb2 |
---|---|---|
RGB Decimal | 4, 15, 178 | rgb(4,15,178) |
RGB Percent | 1.6, 5.9, 69.8 | rgb(1.6%,5.9%,69.8%) |
CMYK | 98, 92, 0, 30 | |
HSL | 236.2°, 95.6, 35.7 | hsl(236.2,95.6%,35.7%) |
HSV (or HSB) | 236.2°, 97.8, 69.8 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 22.235, 56.62, -80.095 |
---|---|
XYZ | 8.255, 3.581, 42.373 |
xyY | 0.152, 0.066, 3.581 |
CIE-LCH | 22.235, 98.087, 305.257 |
CIE-LUV | 22.235, -6.71, -86.108 |
Hunter-Lab | 18.924, 44.75, -119.511 |
Binary | 00000100, 00001111, 10110010 |
Color Schemes with #040fb2
Alternatives to #040fb2
Below, you can see some colors close to #040fb2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040fb2 Preview
This text has a font color of #040fb2.
<span style="color:#040fb2;">Text here</span>
This paragraph has a background color of #040fb2.
<p style="background-color:#040fb2;">Content here</p>
This element has a border color of #040fb2.
<div style="border:1px solid #040fb2;">Content here</div>
.text {color:#040fb2;}
.background {background-color:#040fb2;}
.border {border:1px solid #040fb2;}
Shades and Tints of #040fb2
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000005 is the darkest color, while #f1f2ff is the lightest one.
-
#000005
#000005
rgb(0,0,5)
-
#010219
#010219
rgb(1,2,25)
-
#01042c
#01042c
rgb(1,4,44)
-
#01053f
#01053f
rgb(1,5,63)
-
#020752
#020752
rgb(2,7,82)
-
#020965
#020965
rgb(2,9,101)
-
#030a78
#030a78
rgb(3,10,120)
-
#030c8c
#030c8c
rgb(3,12,140)
-
#040d9f
#040d9f
rgb(4,13,159)
-
#040fb2
#040fb2
rgb(4,15,178)
-
#0411c5
#0411c5
rgb(4,17,197)
-
#0512d8
#0512d8
rgb(5,18,216)
-
#0514ec
#0514ec
rgb(5,20,236)
-
#0b1afa
#0b1afa
rgb(11,26,250)
-
#1e2cfa
#1e2cfa
rgb(30,44,250)
-
#313efa
#313efa
rgb(49,62,250)
-
#4450fb
#4450fb
rgb(68,80,251)
-
#5862fb
#5862fb
rgb(88,98,251)
-
#6b74fc
#6b74fc
rgb(107,116,252)
-
#7e86fc
#7e86fc
rgb(126,134,252)
-
#9198fd
#9198fd
rgb(145,152,253)
-
#a4aafd
#a4aafd
rgb(164,170,253)
-
#b8bcfd
#b8bcfd
rgb(184,188,253)
-
#cbcefe
#cbcefe
rgb(203,206,254)
-
#dee0fe
#dee0fe
rgb(222,224,254)
-
#f1f2ff
#f1f2ff
rgb(241,242,255)
Tones of #040fb2
A tone is produced by adding gray to any pure hue. In this case, #58585e is the less saturated color, while #040fb2 is the most saturated one.
-
#58585e
#58585e
rgb(88,88,94)
-
#515265
#515265
rgb(81,82,101)
-
#4a4c6c
#4a4c6c
rgb(74,76,108)
-
#434673
#434673
rgb(67,70,115)
-
#3c407a
#3c407a
rgb(60,64,122)
-
#353a81
#353a81
rgb(53,58,129)
-
#2e3488
#2e3488
rgb(46,52,136)
-
#272e8f
#272e8f
rgb(39,46,143)
-
#202796
#202796
rgb(32,39,150)
-
#19219d
#19219d
rgb(25,33,157)
-
#121ba4
#121ba4
rgb(18,27,164)
-
#0b15ab
#0b15ab
rgb(11,21,171)
-
#040fb2
#040fb2
rgb(4,15,178)
Color Blindness Simulator
Below, you can see how #040fb2 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.