#040fab Color Information
In a RGB color space, hex #040fab is composed of 1.6% red, 5.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 91.2% magenta, 0% yellow and 32.9% black. It has a hue angle of 236 degrees, a saturation of 95.4% and a lightness of 34.3%. #040fab color hex could be obtained by blending #081eff with #000057. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 67
-
- C 98
- M 91
- Y 0
- K 33
● #040fab color description : Dark blue.
#040fab Color Conversion
The hexadecimal color #040fab has RGB values of R:4, G:15, B:171 and CMYK values of C:0.98, M:0.91, Y:0, K:0.33. Its decimal value is 266155.
Hex triplet | 040fab | #040fab |
---|---|---|
RGB Decimal | 4, 15, 171 | rgb(4,15,171) |
RGB Percent | 1.6, 5.9, 67.1 | rgb(1.6%,5.9%,67.1%) |
CMYK | 98, 91, 0, 33 | |
HSL | 236°, 95.4, 34.3 | hsl(236,95.4%,34.3%) |
HSV (or HSB) | 236°, 97.7, 67.1 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 21.234, 54.633, -77.553 |
---|---|
XYZ | 7.57, 3.307, 38.765 |
xyY | 0.152, 0.067, 3.307 |
CIE-LCH | 21.234, 94.865, 305.163 |
CIE-LUV | 21.234, -6.428, -81.918 |
Hunter-Lab | 18.186, 42.48, -113.656 |
Binary | 00000100, 00001111, 10101011 |
Color Schemes with #040fab
Alternatives to #040fab
Below, you can see some colors close to #040fab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040fab Preview
This text has a font color of #040fab.
<span style="color:#040fab;">Text here</span>
This paragraph has a background color of #040fab.
<p style="background-color:#040fab;">Content here</p>
This element has a border color of #040fab.
<div style="border:1px solid #040fab;">Content here</div>
.text {color:#040fab;}
.background {background-color:#040fab;}
.border {border:1px solid #040fab;}
Shades and Tints of #040fab
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, #000212 is the darkest color, while #fdfeff is the lightest one.
-
#000212
#000212
rgb(0,2,18)
-
#010325
#010325
rgb(1,3,37)
-
#010538
#010538
rgb(1,5,56)
-
#02074b
#02074b
rgb(2,7,75)
-
#02085e
#02085e
rgb(2,8,94)
-
#030a71
#030a71
rgb(3,10,113)
-
#030c85
#030c85
rgb(3,12,133)
-
#040d98
#040d98
rgb(4,13,152)
-
#040fab
#040fab
rgb(4,15,171)
-
#0411be
#0411be
rgb(4,17,190)
-
#0512d1
#0512d1
rgb(5,18,209)
-
#0514e5
#0514e5
rgb(5,20,229)
-
#0616f8
#0616f8
rgb(6,22,248)
-
#1726fa
#1726fa
rgb(23,38,250)
-
#2b38fa
#2b38fa
rgb(43,56,250)
-
#3e4afa
#3e4afa
rgb(62,74,250)
-
#515cfb
#515cfb
rgb(81,92,251)
-
#646efb
#646efb
rgb(100,110,251)
-
#7780fc
#7780fc
rgb(119,128,252)
-
#8a92fc
#8a92fc
rgb(138,146,252)
-
#9ea4fd
#9ea4fd
rgb(158,164,253)
-
#b1b6fd
#b1b6fd
rgb(177,182,253)
-
#c4c8fe
#c4c8fe
rgb(196,200,254)
-
#d7dafe
#d7dafe
rgb(215,218,254)
-
#eaecff
#eaecff
rgb(234,236,255)
-
#fdfeff
#fdfeff
rgb(253,254,255)
Tones of #040fab
A tone is produced by adding gray to any pure hue. In this case, #55555a is the less saturated color, while #040fab is the most saturated one.
-
#55555a
#55555a
rgb(85,85,90)
-
#4e4f61
#4e4f61
rgb(78,79,97)
-
#474968
#474968
rgb(71,73,104)
-
#41446e
#41446e
rgb(65,68,110)
-
#3a3e75
#3a3e75
rgb(58,62,117)
-
#33387c
#33387c
rgb(51,56,124)
-
#2c3283
#2c3283
rgb(44,50,131)
-
#262c89
#262c89
rgb(38,44,137)
-
#1f2690
#1f2690
rgb(31,38,144)
-
#182197
#182197
rgb(24,33,151)
-
#111b9e
#111b9e
rgb(17,27,158)
-
#0b15a4
#0b15a4
rgb(11,21,164)
-
#040fab
#040fab
rgb(4,15,171)
Color Blindness Simulator
Below, you can see how #040fab 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.