#040787 hex color
In a RGB color space, hex #040787 is composed of 1.6% red, 2.7% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 94.8% magenta, 0% yellow and 47.1% black. It has a hue angle of 238.6 degrees, a saturation of 94.2% and a lightness of 27.3%. #040787 color hex could be obtained by blending #080eff with #00000f. Closest websafe color is: #000099.
-
- R 2
- G 3
- B 53
RGB color chart
-
- C 97
- M 95
- Y 0
- K 47
CMYK color chart
● #040787 color description : Dark blue.
The hexadecimal color #040787 has RGB values of R:4, G:7, B:135 and CMYK values of C:0.97, M:0.95, Y:0, K:0.47. Its decimal value is 264071.
Hex triplet | 040787 | #040787 |
---|---|---|
RGB Decimal | 4, 7, 135 | rgb(4,7,135) |
RGB Percent | 1.6, 2.7, 52.9 | rgb(1.6%,2.7%,52.9%) |
CMYK | 97, 95, 0, 47 | |
HSL | 238.6°, 94.2, 27.3 | hsl(238.6,94.2%,27.3%) |
HSV (or HSB) | 238.6°, 97, 52.9 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 15.098, 46.818, -65.59 |
---|---|
XYZ | 4.498, 1.927, 23.055 |
xyY | 0.153, 0.065, 1.927 |
CIE-LCH | 15.098, 80.585, 305.519 |
CIE-LUV | 15.098, -4.397, -58.738 |
Hunter-Lab | 13.881, 33.557, -88.763 |
Binary | 00000100, 00000111, 10000111 |
Split Complementary Color
Below, you can see some colors close to #040787. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040787
This text has a font color of #040787.
<span style="color:#040787;">Text here</span>
#040787 background color
This paragraph has a background color of #040787.
<p style="background-color:#040787;">Content here</p>
#040787 border color
This element has a border color of #040787.
<div style="border:1px solid #040787;">Content here</div>
CSS codes
.text {color:#040787;}
.background {background-color:#040787;}
.border {border:1px solid #040787;}
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, #000002 is the darkest color, while #eeeefe is the lightest one.
-
#000002
#000002
rgb(0,0,2)
-
#010115
#010115
rgb(1,1,21)
-
#010228
#010228
rgb(1,2,40)
-
#02033b
#02033b
rgb(2,3,59)
-
#02044e
#02044e
rgb(2,4,78)
-
#030561
#030561
rgb(3,5,97)
-
#030674
#030674
rgb(3,6,116)
-
#040787
#040787
rgb(4,7,135)
-
#05089a
#05089a
rgb(5,8,154)
-
#0509ad
#0509ad
rgb(5,9,173)
-
#060ac0
#060ac0
rgb(6,10,192)
-
#060bd3
#060bd3
rgb(6,11,211)
-
#070ce6
#070ce6
rgb(7,12,230)
Shade Color Variation
-
#090ef8
#090ef8
rgb(9,14,248)
-
#1c21f8
#1c21f8
rgb(28,33,248)
-
#2f34f9
#2f34f9
rgb(47,52,249)
-
#4246f9
#4246f9
rgb(66,70,249)
-
#5559fa
#5559fa
rgb(85,89,250)
-
#686cfb
#686cfb
rgb(104,108,251)
-
#7b7efb
#7b7efb
rgb(123,126,251)
-
#8e91fc
#8e91fc
rgb(142,145,252)
-
#a1a3fc
#a1a3fc
rgb(161,163,252)
-
#b4b6fd
#b4b6fd
rgb(180,182,253)
-
#c7c9fd
#c7c9fd
rgb(199,201,253)
-
#dbdbfe
#dbdbfe
rgb(219,219,254)
-
#eeeefe
#eeeefe
rgb(238,238,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #444447 is the less saturated color, while #040787 is the most saturated one.
-
#444447
#444447
rgb(68,68,71)
-
#3f3f4c
#3f3f4c
rgb(63,63,76)
-
#393a52
#393a52
rgb(57,58,82)
-
#343557
#343557
rgb(52,53,87)
-
#2f305c
#2f305c
rgb(47,48,92)
-
#292b62
#292b62
rgb(41,43,98)
-
#242667
#242667
rgb(36,38,103)
-
#1f216c
#1f216c
rgb(31,33,108)
-
#191b72
#191b72
rgb(25,27,114)
-
#141677
#141677
rgb(20,22,119)
-
#0f117c
#0f117c
rgb(15,17,124)
-
#090c82
#090c82
rgb(9,12,130)
-
#040787
#040787
rgb(4,7,135)
Tone Color Variation
Below, you can see how #040787 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