#040f8e Color Information
In a RGB color space, hex #040f8e is composed of 1.6% red, 5.9% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 89.4% magenta, 0% yellow and 44.3% black. It has a hue angle of 235.2 degrees, a saturation of 94.5% and a lightness of 28.6%. #040f8e color hex could be obtained by blending #081eff with #00001d. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 56
-
- C 97
- M 89
- Y 0
- K 44
● #040f8e color description : Dark blue.
#040f8e Color Conversion
The hexadecimal color #040f8e has RGB values of R:4, G:15, B:142 and CMYK values of C:0.97, M:0.89, Y:0, K:0.44. Its decimal value is 266126.
Hex triplet | 040f8e | #040f8e |
---|---|---|
RGB Decimal | 4, 15, 142 | rgb(4,15,142) |
RGB Percent | 1.6, 5.9, 55.7 | rgb(1.6%,5.9%,55.7%) |
CMYK | 97, 89, 0, 44 | |
HSL | 235.2°, 94.5, 28.6 | hsl(235.2,94.5%,28.6%) |
HSV (or HSB) | 235.2°, 97.2, 55.7 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 17.084, 46.012, -66.668 |
---|---|
XYZ | 5.102, 2.32, 25.769 |
xyY | 0.154, 0.07, 2.32 |
CIE-LCH | 17.084, 81.005, 304.612 |
CIE-LUV | 17.084, -5.266, -64.45 |
Hunter-Lab | 15.232, 33.139, -89.643 |
Binary | 00000100, 00001111, 10001110 |
Color Schemes with #040f8e
Alternatives to #040f8e
Below, you can see some colors close to #040f8e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040f8e Preview
This text has a font color of #040f8e.
<span style="color:#040f8e;">Text here</span>
This paragraph has a background color of #040f8e.
<p style="background-color:#040f8e;">Content here</p>
This element has a border color of #040f8e.
<div style="border:1px solid #040f8e;">Content here</div>
.text {color:#040f8e;}
.background {background-color:#040f8e;}
.border {border:1px solid #040f8e;}
Shades and Tints of #040f8e
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, #000108 is the darkest color, while #f4f5ff is the lightest one.
-
#000108
#000108
rgb(0,1,8)
-
#01031c
#01031c
rgb(1,3,28)
-
#01052f
#01052f
rgb(1,5,47)
-
#020742
#020742
rgb(2,7,66)
-
#020955
#020955
rgb(2,9,85)
-
#030b68
#030b68
rgb(3,11,104)
-
#030d7b
#030d7b
rgb(3,13,123)
-
#040f8e
#040f8e
rgb(4,15,142)
-
#0511a1
#0511a1
rgb(5,17,161)
-
#0513b4
#0513b4
rgb(5,19,180)
-
#0615c7
#0615c7
rgb(6,21,199)
-
#0617da
#0617da
rgb(6,23,218)
-
#0719ed
#0719ed
rgb(7,25,237)
-
#0f22f8
#0f22f8
rgb(15,34,248)
-
#2334f9
#2334f9
rgb(35,52,249)
-
#3645f9
#3645f9
rgb(54,69,249)
-
#4957fa
#4957fa
rgb(73,87,250)
-
#5c68fa
#5c68fa
rgb(92,104,250)
-
#6f7afb
#6f7afb
rgb(111,122,251)
-
#828cfb
#828cfb
rgb(130,140,251)
-
#959dfc
#959dfc
rgb(149,157,252)
-
#a8affd
#a8affd
rgb(168,175,253)
-
#bbc0fd
#bbc0fd
rgb(187,192,253)
-
#ced2fe
#ced2fe
rgb(206,210,254)
-
#e1e4fe
#e1e4fe
rgb(225,228,254)
-
#f4f5ff
#f4f5ff
rgb(244,245,255)
Tones of #040f8e
A tone is produced by adding gray to any pure hue. In this case, #47484b is the less saturated color, while #040f8e is the most saturated one.
-
#47484b
#47484b
rgb(71,72,75)
-
#424350
#424350
rgb(66,67,80)
-
#3c3e56
#3c3e56
rgb(60,62,86)
-
#37395b
#37395b
rgb(55,57,91)
-
#313561
#313561
rgb(49,53,97)
-
#2b3067
#2b3067
rgb(43,48,103)
-
#262b6c
#262b6c
rgb(38,43,108)
-
#202772
#202772
rgb(32,39,114)
-
#1a2278
#1a2278
rgb(26,34,120)
-
#151d7d
#151d7d
rgb(21,29,125)
-
#0f1883
#0f1883
rgb(15,24,131)
-
#0a1488
#0a1488
rgb(10,20,136)
-
#040f8e
#040f8e
rgb(4,15,142)
Color Blindness Simulator
Below, you can see how #040f8e 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.