#04187c hex color
In a RGB color space, hex #04187c is composed of 1.6% red, 9.4% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 96.8% cyan, 80.6% magenta, 0% yellow and 51.4% black. It has a hue angle of 230 degrees, a saturation of 93.8% and a lightness of 25.1%. #04187c color hex could be obtained by blending #0830f8 with #000000. Closest websafe color is: #000066.
-
- R 2
- G 9
- B 49
RGB color chart
-
- C 97
- M 81
- Y 0
- K 51
CMYK color chart
● #04187c color description : Dark blue.
The hexadecimal color #04187c has RGB values of R:4, G:24, B:124 and CMYK values of C:0.97, M:0.81, Y:0, K:0.51. Its decimal value is 268412.
Hex triplet | 04187c | #04187c |
---|---|---|
RGB Decimal | 4, 24, 124 | rgb(4,24,124) |
RGB Percent | 1.6, 9.4, 48.6 | rgb(1.6%,9.4%,48.6%) |
CMYK | 97, 81, 0, 51 | |
HSL | 230°, 93.8, 25.1 | hsl(230,93.8%,25.1%) |
HSV (or HSB) | 230°, 96.8, 48.6 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 16.175, 35.435, -56.811 |
---|---|
XYZ | 4.014, 2.134, 19.268 |
xyY | 0.158, 0.084, 2.134 |
CIE-LCH | 16.175, 66.956, 301.953 |
CIE-LUV | 16.175, -5.618, -55.439 |
Hunter-Lab | 14.608, 23.484, -67.977 |
Binary | 00000100, 00011000, 01111100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #04187c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #04187c
This text has a font color of #04187c.
<span style="color:#04187c;">Text here</span>
#04187c background color
This paragraph has a background color of #04187c.
<p style="background-color:#04187c;">Content here</p>
#04187c border color
This element has a border color of #04187c.
<div style="border:1px solid #04187c;">Content here</div>
CSS codes
.text {color:#04187c;}
.background {background-color:#04187c;}
.border {border:1px solid #04187c;}
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, #00020a is the darkest color, while #f6f7ff is the lightest one.
-
#00020a
#00020a
rgb(0,2,10)
-
#01061d
#01061d
rgb(1,6,29)
-
#020930
#020930
rgb(2,9,48)
-
#020d43
#020d43
rgb(2,13,67)
-
#031156
#031156
rgb(3,17,86)
-
#031469
#031469
rgb(3,20,105)
-
#04187c
#04187c
rgb(4,24,124)
-
#051c8f
#051c8f
rgb(5,28,143)
-
#051fa2
#051fa2
rgb(5,31,162)
-
#0623b5
#0623b5
rgb(6,35,181)
-
#0627c8
#0627c8
rgb(6,39,200)
-
#072adb
#072adb
rgb(7,42,219)
-
#082eee
#082eee
rgb(8,46,238)
Shade Color Variation
-
#1238f7
#1238f7
rgb(18,56,247)
-
#2548f8
#2548f8
rgb(37,72,248)
-
#3858f9
#3858f9
rgb(56,88,249)
-
#4b68f9
#4b68f9
rgb(75,104,249)
-
#5e78fa
#5e78fa
rgb(94,120,250)
-
#7188fa
#7188fa
rgb(113,136,250)
-
#8498fb
#8498fb
rgb(132,152,251)
-
#97a8fc
#97a8fc
rgb(151,168,252)
-
#aab8fc
#aab8fc
rgb(170,184,252)
-
#bdc8fd
#bdc8fd
rgb(189,200,253)
-
#d0d8fd
#d0d8fd
rgb(208,216,253)
-
#e3e8fe
#e3e8fe
rgb(227,232,254)
-
#f6f7ff
#f6f7ff
rgb(246,247,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3f3f41 is the less saturated color, while #04187c is the most saturated one.
-
#3f3f41
#3f3f41
rgb(63,63,65)
-
#3a3c46
#3a3c46
rgb(58,60,70)
-
#35394b
#35394b
rgb(53,57,75)
-
#303650
#303650
rgb(48,54,80)
-
#2b3255
#2b3255
rgb(43,50,85)
-
#262f5a
#262f5a
rgb(38,47,90)
-
#222c5e
#222c5e
rgb(34,44,94)
-
#1d2863
#1d2863
rgb(29,40,99)
-
#182568
#182568
rgb(24,37,104)
-
#13226d
#13226d
rgb(19,34,109)
-
#0e1f72
#0e1f72
rgb(14,31,114)
-
#091b77
#091b77
rgb(9,27,119)
-
#04187c
#04187c
rgb(4,24,124)
Tone Color Variation
Below, you can see how #04187c 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