#040f42 Color Information
In a RGB color space, hex #040f42 is composed of 1.6% red, 5.9% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 93.9% cyan, 77.3% magenta, 0% yellow and 74.1% black. It has a hue angle of 229.4 degrees, a saturation of 88.6% and a lightness of 13.7%. #040f42 color hex could be obtained by blending #081e84 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 6
- B 26
-
- C 94
- M 77
- Y 0
- K 74
● #040f42 color description : Very dark blue.
#040f42 Color Conversion
The hexadecimal color #040f42 has RGB values of R:4, G:15, B:66 and CMYK values of C:0.94, M:0.77, Y:0, K:0.74. Its decimal value is 266050.
Hex triplet | 040f42 | #040f42 |
---|---|---|
RGB Decimal | 4, 15, 66 | rgb(4,15,66) |
RGB Percent | 1.6, 5.9, 25.9 | rgb(1.6%,5.9%,25.9%) |
CMYK | 94, 77, 0, 74 | |
HSL | 229.4°, 88.6, 13.7 | hsl(229.4,88.6%,13.7%) |
HSV (or HSB) | 229.4°, 93.9, 25.9 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 6.871, 17.973, -33.302 |
---|---|
XYZ | 1.204, 0.761, 5.237 |
xyY | 0.167, 0.106, 0.761 |
CIE-LCH | 6.871, 37.843, 298.356 |
CIE-LUV | 6.871, -2.485, -20.246 |
Hunter-Lab | 8.722, 9.379, -29.497 |
Binary | 00000100, 00001111, 01000010 |
Color Schemes with #040f42
Alternatives to #040f42
Below, you can see some colors close to #040f42. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040f42 Preview
This text has a font color of #040f42.
<span style="color:#040f42;">Text here</span>
This paragraph has a background color of #040f42.
<p style="background-color:#040f42;">Content here</p>
This element has a border color of #040f42.
<div style="border:1px solid #040f42;">Content here</div>
.text {color:#040f42;}
.background {background-color:#040f42;}
.border {border:1px solid #040f42;}
Shades and Tints of #040f42
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, #01020b is the darkest color, while #f7f8ff is the lightest one.
-
#01020b
#01020b
rgb(1,2,11)
-
#02071d
#02071d
rgb(2,7,29)
-
#030b30
#030b30
rgb(3,11,48)
-
#040f42
#040f42
rgb(4,15,66)
-
#051354
#051354
rgb(5,19,84)
-
#061767
#061767
rgb(6,23,103)
-
#071c79
#071c79
rgb(7,28,121)
-
#08208c
#08208c
rgb(8,32,140)
-
#0a249e
#0a249e
rgb(10,36,158)
-
#0b28b1
#0b28b1
rgb(11,40,177)
-
#0c2cc3
#0c2cc3
rgb(12,44,195)
-
#0d31d6
#0d31d6
rgb(13,49,214)
-
#0e35e8
#0e35e8
rgb(14,53,232)
-
#193ff1
#193ff1
rgb(25,63,241)
-
#2c4ff2
#2c4ff2
rgb(44,79,242)
-
#3e5ef3
#3e5ef3
rgb(62,94,243)
-
#516ef4
#516ef4
rgb(81,110,244)
-
#637df6
#637df6
rgb(99,125,246)
-
#768cf7
#768cf7
rgb(118,140,247)
-
#889cf8
#889cf8
rgb(136,156,248)
-
#9babf9
#9babf9
rgb(155,171,249)
-
#adbbfa
#adbbfa
rgb(173,187,250)
-
#c0cafb
#c0cafb
rgb(192,202,251)
-
#d2dafc
#d2dafc
rgb(210,218,252)
-
#e5e9fd
#e5e9fd
rgb(229,233,253)
-
#f7f8ff
#f7f8ff
rgb(247,248,255)
Tones of #040f42
A tone is produced by adding gray to any pure hue. In this case, #222224 is the less saturated color, while #010d45 is the most saturated one.
-
#222224
#222224
rgb(34,34,36)
-
#1f2027
#1f2027
rgb(31,32,39)
-
#1c1f2a
#1c1f2a
rgb(28,31,42)
-
#1a1d2c
#1a1d2c
rgb(26,29,44)
-
#171b2f
#171b2f
rgb(23,27,47)
-
#141932
#141932
rgb(20,25,50)
-
#111835
#111835
rgb(17,24,53)
-
#0f1637
#0f1637
rgb(15,22,55)
-
#0c143a
#0c143a
rgb(12,20,58)
-
#09123d
#09123d
rgb(9,18,61)
-
#07113f
#07113f
rgb(7,17,63)
-
#040f42
#040f42
rgb(4,15,66)
-
#010d45
#010d45
rgb(1,13,69)
Color Blindness Simulator
Below, you can see how #040f42 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.