#040f8b Color Information
In a RGB color space, hex #040f8b is composed of 1.6% red, 5.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 89.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 235.1 degrees, a saturation of 94.4% and a lightness of 28%. #040f8b color hex could be obtained by blending #081eff with #000017. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 55
-
- C 97
- M 89
- Y 0
- K 45
● #040f8b color description : Dark blue.
#040f8b Color Conversion
The hexadecimal color #040f8b has RGB values of R:4, G:15, B:139 and CMYK values of C:0.97, M:0.89, Y:0, K:0.45. Its decimal value is 266123.
Hex triplet | 040f8b | #040f8b |
---|---|---|
RGB Decimal | 4, 15, 139 | rgb(4,15,139) |
RGB Percent | 1.6, 5.9, 54.5 | rgb(1.6%,5.9%,54.5%) |
CMYK | 97, 89, 0, 45 | |
HSL | 235.1°, 94.4, 28 | hsl(235.1,94.4%,28%) |
HSV (or HSB) | 235.1°, 97.1, 54.5 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 16.656, 45.078, -65.504 |
---|---|
XYZ | 4.88, 2.231, 24.598 |
xyY | 0.154, 0.07, 2.231 |
CIE-LCH | 16.656, 79.516, 304.535 |
CIE-LUV | 16.656, -5.147, -62.637 |
Hunter-Lab | 14.937, 32.179, -87.182 |
Binary | 00000100, 00001111, 10001011 |
Color Schemes with #040f8b
Alternatives to #040f8b
Below, you can see some colors close to #040f8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040f8b Preview
This text has a font color of #040f8b.
<span style="color:#040f8b;">Text here</span>
This paragraph has a background color of #040f8b.
<p style="background-color:#040f8b;">Content here</p>
This element has a border color of #040f8b.
<div style="border:1px solid #040f8b;">Content here</div>
.text {color:#040f8b;}
.background {background-color:#040f8b;}
.border {border:1px solid #040f8b;}
Shades and Tints of #040f8b
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, #000106 is the darkest color, while #f1f3ff is the lightest one.
-
#000106
#000106
rgb(0,1,6)
-
#010319
#010319
rgb(1,3,25)
-
#01052c
#01052c
rgb(1,5,44)
-
#02073f
#02073f
rgb(2,7,63)
-
#020952
#020952
rgb(2,9,82)
-
#030b65
#030b65
rgb(3,11,101)
-
#030d78
#030d78
rgb(3,13,120)
-
#040f8b
#040f8b
rgb(4,15,139)
-
#05119e
#05119e
rgb(5,17,158)
-
#0513b1
#0513b1
rgb(5,19,177)
-
#0615c4
#0615c4
rgb(6,21,196)
-
#0617d7
#0617d7
rgb(6,23,215)
-
#0719ea
#0719ea
rgb(7,25,234)
-
#0d20f8
#0d20f8
rgb(13,32,248)
-
#2031f9
#2031f9
rgb(32,49,249)
-
#3343f9
#3343f9
rgb(51,67,249)
-
#4655fa
#4655fa
rgb(70,85,250)
-
#5966fa
#5966fa
rgb(89,102,250)
-
#6c78fb
#6c78fb
rgb(108,120,251)
-
#7f89fb
#7f89fb
rgb(127,137,251)
-
#929bfc
#929bfc
rgb(146,155,252)
-
#a5acfc
#a5acfc
rgb(165,172,252)
-
#b8befd
#b8befd
rgb(184,190,253)
-
#cbcffe
#cbcffe
rgb(203,207,254)
-
#dee1fe
#dee1fe
rgb(222,225,254)
-
#f1f3ff
#f1f3ff
rgb(241,243,255)
Tones of #040f8b
A tone is produced by adding gray to any pure hue. In this case, #464649 is the less saturated color, while #040f8b is the most saturated one.
-
#464649
#464649
rgb(70,70,73)
-
#41424f
#41424f
rgb(65,66,79)
-
#3b3d54
#3b3d54
rgb(59,61,84)
-
#36385a
#36385a
rgb(54,56,90)
-
#30345f
#30345f
rgb(48,52,95)
-
#2b2f65
#2b2f65
rgb(43,47,101)
-
#252b6a
#252b6a
rgb(37,43,106)
-
#202670
#202670
rgb(32,38,112)
-
#1a2175
#1a2175
rgb(26,33,117)
-
#151d7b
#151d7b
rgb(21,29,123)
-
#0f1880
#0f1880
rgb(15,24,128)
-
#0a1486
#0a1486
rgb(10,20,134)
-
#040f8b
#040f8b
rgb(4,15,139)
Color Blindness Simulator
Below, you can see how #040f8b 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.