#040152 hex color
In a RGB color space, hex #040152 is composed of 1.6% red, 0.4% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 95.1% cyan, 98.8% magenta, 0% yellow and 67.8% black. It has a hue angle of 242.2 degrees, a saturation of 97.6% and a lightness of 16.3%. #040152 color hex could be obtained by blending #0802a4 with #000000. Closest websafe color is: #000066.
-
- R 2
- G 0
- B 32
RGB color chart
-
- C 95
- M 99
- Y 0
- K 68
CMYK color chart
● #040152 color description : Very dark blue.
The hexadecimal color #040152 has RGB values of R:4, G:1, B:82 and CMYK values of C:0.95, M:0.99, Y:0, K:0.68. Its decimal value is 262482.
Hex triplet | 040152 | #040152 |
---|---|---|
RGB Decimal | 4, 1, 82 | rgb(4,1,82) |
RGB Percent | 1.6, 0.4, 32.2 | rgb(1.6%,0.4%,32.2%) |
CMYK | 95, 99, 0, 68 | |
HSL | 242.2°, 97.6, 16.3 | hsl(242.2,97.6%,16.3%) |
HSV (or HSB) | 242.2°, 98.8, 32.2 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 5.931, 33.174, -46.044 |
---|---|
XYZ | 1.584, 0.657, 8.025 |
xyY | 0.154, 0.064, 0.657 |
CIE-LCH | 5.931, 56.75, 305.773 |
CIE-LUV | 5.931, -1.5, -23.279 |
Hunter-Lab | 8.103, 20.704, -53.05 |
Binary | 00000100, 00000001, 01010010 |
Split Complementary Color
Below, you can see some colors close to #040152. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040152
This text has a font color of #040152.
<span style="color:#040152;">Text here</span>
#040152 background color
This paragraph has a background color of #040152.
<p style="background-color:#040152;">Content here</p>
#040152 border color
This element has a border color of #040152.
<div style="border:1px solid #040152;">Content here</div>
CSS codes
.text {color:#040152;}
.background {background-color:#040152;}
.border {border:1px solid #040152;}
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, #000004 is the darkest color, while #f1f0ff is the lightest one.
-
#000004
#000004
rgb(0,0,4)
-
#010018
#010018
rgb(1,0,24)
-
#02012b
#02012b
rgb(2,1,43)
-
#03013f
#03013f
rgb(3,1,63)
-
#040152
#040152
rgb(4,1,82)
-
#050165
#050165
rgb(5,1,101)
-
#060179
#060179
rgb(6,1,121)
-
#07028c
#07028c
rgb(7,2,140)
-
#0802a0
#0802a0
rgb(8,2,160)
-
#0902b3
#0902b3
rgb(9,2,179)
-
#0a02c6
#0a02c6
rgb(10,2,198)
-
#0b03da
#0b03da
rgb(11,3,218)
-
#0c03ed
#0c03ed
rgb(12,3,237)
Shade Color Variation
-
#1108fc
#1108fc
rgb(17,8,252)
-
#231bfc
#231bfc
rgb(35,27,252)
-
#362efc
#362efc
rgb(54,46,252)
-
#4942fd
#4942fd
rgb(73,66,253)
-
#5b55fd
#5b55fd
rgb(91,85,253)
-
#6e68fd
#6e68fd
rgb(110,104,253)
-
#817cfd
#817cfd
rgb(129,124,253)
-
#938ffe
#938ffe
rgb(147,143,254)
-
#a6a3fe
#a6a3fe
rgb(166,163,254)
-
#b9b6fe
#b9b6fe
rgb(185,182,254)
-
#cbc9fe
#cbc9fe
rgb(203,201,254)
-
#deddff
#deddff
rgb(222,221,255)
-
#f1f0ff
#f1f0ff
rgb(241,240,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #27272c is the less saturated color, while #040152 is the most saturated one.
-
#27272c
#27272c
rgb(39,39,44)
-
#25242f
#25242f
rgb(37,36,47)
-
#222132
#222132
rgb(34,33,50)
-
#1f1e35
#1f1e35
rgb(31,30,53)
-
#1c1b38
#1c1b38
rgb(28,27,56)
-
#19173c
#19173c
rgb(25,23,60)
-
#16143f
#16143f
rgb(22,20,63)
-
#131142
#131142
rgb(19,17,66)
-
#100e45
#100e45
rgb(16,14,69)
-
#0d0b48
#0d0b48
rgb(13,11,72)
-
#0a074c
#0a074c
rgb(10,7,76)
-
#07044f
#07044f
rgb(7,4,79)
-
#040152
#040152
rgb(4,1,82)
Tone Color Variation
Below, you can see how #040152 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.
Monochromacy
Dichromacy