#040f8d Color Information
In a RGB color space, hex #040f8d is composed of 1.6% red, 5.9% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 89.4% magenta, 0% yellow and 44.7% black. It has a hue angle of 235.2 degrees, a saturation of 94.5% and a lightness of 28.4%. #040f8d color hex could be obtained by blending #081eff with #00001b. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 55
-
- C 97
- M 89
- Y 0
- K 45
● #040f8d color description : Dark blue.
#040f8d Color Conversion
The hexadecimal color #040f8d has RGB values of R:4, G:15, B:141 and CMYK values of C:0.97, M:0.89, Y:0, K:0.45. Its decimal value is 266125.
Hex triplet | 040f8d | #040f8d |
---|---|---|
RGB Decimal | 4, 15, 141 | rgb(4,15,141) |
RGB Percent | 1.6, 5.9, 55.3 | rgb(1.6%,5.9%,55.3%) |
CMYK | 97, 89, 0, 45 | |
HSL | 235.2°, 94.5, 28.4 | hsl(235.2,94.5%,28.4%) |
HSV (or HSB) | 235.2°, 97.2, 55.3 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 16.942, 45.702, -66.281 |
---|---|
XYZ | 5.028, 2.29, 25.375 |
xyY | 0.154, 0.07, 2.29 |
CIE-LCH | 16.942, 80.51, 304.587 |
CIE-LUV | 16.942, -5.226, -63.846 |
Hunter-Lab | 15.133, 32.819, -88.822 |
Binary | 00000100, 00001111, 10001101 |
Color Schemes with #040f8d
Alternatives to #040f8d
Below, you can see some colors close to #040f8d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040f8d Preview
This text has a font color of #040f8d.
<span style="color:#040f8d;">Text here</span>
This paragraph has a background color of #040f8d.
<p style="background-color:#040f8d;">Content here</p>
This element has a border color of #040f8d.
<div style="border:1px solid #040f8d;">Content here</div>
.text {color:#040f8d;}
.background {background-color:#040f8d;}
.border {border:1px solid #040f8d;}
Shades and Tints of #040f8d
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, #000107 is the darkest color, while #f3f4ff is the lightest one.
-
#000107
#000107
rgb(0,1,7)
-
#01031b
#01031b
rgb(1,3,27)
-
#01052e
#01052e
rgb(1,5,46)
-
#020741
#020741
rgb(2,7,65)
-
#020954
#020954
rgb(2,9,84)
-
#030b67
#030b67
rgb(3,11,103)
-
#030d7a
#030d7a
rgb(3,13,122)
-
#040f8d
#040f8d
rgb(4,15,141)
-
#0511a0
#0511a0
rgb(5,17,160)
-
#0513b3
#0513b3
rgb(5,19,179)
-
#0615c6
#0615c6
rgb(6,21,198)
-
#0617d9
#0617d9
rgb(6,23,217)
-
#0719ec
#0719ec
rgb(7,25,236)
-
#0f21f8
#0f21f8
rgb(15,33,248)
-
#2233f9
#2233f9
rgb(34,51,249)
-
#3544f9
#3544f9
rgb(53,68,249)
-
#4856fa
#4856fa
rgb(72,86,250)
-
#5b68fa
#5b68fa
rgb(91,104,250)
-
#6e79fb
#6e79fb
rgb(110,121,251)
-
#818bfb
#818bfb
rgb(129,139,251)
-
#949cfc
#949cfc
rgb(148,156,252)
-
#a7aefd
#a7aefd
rgb(167,174,253)
-
#bac0fd
#bac0fd
rgb(186,192,253)
-
#cdd1fe
#cdd1fe
rgb(205,209,254)
-
#e0e3fe
#e0e3fe
rgb(224,227,254)
-
#f3f4ff
#f3f4ff
rgb(243,244,255)
Tones of #040f8d
A tone is produced by adding gray to any pure hue. In this case, #47474a is the less saturated color, while #040f8d is the most saturated one.
-
#47474a
#47474a
rgb(71,71,74)
-
#414250
#414250
rgb(65,66,80)
-
#3c3e55
#3c3e55
rgb(60,62,85)
-
#36395b
#36395b
rgb(54,57,91)
-
#313460
#313460
rgb(49,52,96)
-
#2b3066
#2b3066
rgb(43,48,102)
-
#252b6c
#252b6c
rgb(37,43,108)
-
#202671
#202671
rgb(32,38,113)
-
#1a2277
#1a2277
rgb(26,34,119)
-
#151d7c
#151d7c
rgb(21,29,124)
-
#0f1882
#0f1882
rgb(15,24,130)
-
#0a1487
#0a1487
rgb(10,20,135)
-
#040f8d
#040f8d
rgb(4,15,141)
Color Blindness Simulator
Below, you can see how #040f8d 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.