#040158 hex color
In a RGB color space, hex #040158 is composed of 1.6% red, 0.4% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 95.5% cyan, 98.9% magenta, 0% yellow and 65.5% black. It has a hue angle of 242.1 degrees, a saturation of 97.8% and a lightness of 17.5%. #040158 color hex could be obtained by blending #0802b0 with #000000. Closest websafe color is: #000066.
-
- R 2
- G 0
- B 35
RGB color chart
-
- C 95
- M 99
- Y 0
- K 65
CMYK color chart
● #040158 color description : Very dark blue.
The hexadecimal color #040158 has RGB values of R:4, G:1, B:88 and CMYK values of C:0.95, M:0.99, Y:0, K:0.65. Its decimal value is 262488.
Hex triplet | 040158 | #040158 |
---|---|---|
RGB Decimal | 4, 1, 88 | rgb(4,1,88) |
RGB Percent | 1.6, 0.4, 34.5 | rgb(1.6%,0.4%,34.5%) |
CMYK | 95, 99, 0, 65 | |
HSL | 242.1°, 97.8, 17.5 | hsl(242.1,97.8%,17.5%) |
HSV (or HSB) | 242.1°, 98.9, 34.5 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 6.792, 35.573, -48.722 |
---|---|
XYZ | 1.822, 0.752, 9.281 |
xyY | 0.154, 0.063, 0.752 |
CIE-LCH | 6.792, 60.326, 306.134 |
CIE-LUV | 6.792, -1.752, -26.76 |
Hunter-Lab | 8.672, 22.33, -57.387 |
Binary | 00000100, 00000001, 01011000 |
Split Complementary Color
Below, you can see some colors close to #040158. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040158
This text has a font color of #040158.
<span style="color:#040158;">Text here</span>
#040158 background color
This paragraph has a background color of #040158.
<p style="background-color:#040158;">Content here</p>
#040158 border color
This element has a border color of #040158.
<div style="border:1px solid #040158;">Content here</div>
CSS codes
.text {color:#040158;}
.background {background-color:#040158;}
.border {border:1px solid #040158;}
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, #00000a is the darkest color, while #f6f6ff is the lightest one.
-
#00000a
#00000a
rgb(0,0,10)
-
#01001e
#01001e
rgb(1,0,30)
-
#020131
#020131
rgb(2,1,49)
-
#030145
#030145
rgb(3,1,69)
-
#040158
#040158
rgb(4,1,88)
-
#05016b
#05016b
rgb(5,1,107)
-
#06017f
#06017f
rgb(6,1,127)
-
#070292
#070292
rgb(7,2,146)
-
#0802a6
#0802a6
rgb(8,2,166)
-
#0802b9
#0802b9
rgb(8,2,185)
-
#0902cc
#0902cc
rgb(9,2,204)
-
#0a03e0
#0a03e0
rgb(10,3,224)
-
#0b03f3
#0b03f3
rgb(11,3,243)
Shade Color Variation
-
#160dfc
#160dfc
rgb(22,13,252)
-
#2821fc
#2821fc
rgb(40,33,252)
-
#3b34fd
#3b34fd
rgb(59,52,253)
-
#4e47fd
#4e47fd
rgb(78,71,253)
-
#605bfd
#605bfd
rgb(96,91,253)
-
#736efd
#736efd
rgb(115,110,253)
-
#8682fe
#8682fe
rgb(134,130,254)
-
#9995fe
#9995fe
rgb(153,149,254)
-
#aba8fe
#aba8fe
rgb(171,168,254)
-
#bebcfe
#bebcfe
rgb(190,188,254)
-
#d1cffe
#d1cffe
rgb(209,207,254)
-
#e4e3ff
#e4e3ff
rgb(228,227,255)
-
#f6f6ff
#f6f6ff
rgb(246,246,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2a2a2f is the less saturated color, while #040158 is the most saturated one.
-
#2a2a2f
#2a2a2f
rgb(42,42,47)
-
#272732
#272732
rgb(39,39,50)
-
#242336
#242336
rgb(36,35,54)
-
#212039
#212039
rgb(33,32,57)
-
#1d1c3d
#1d1c3d
rgb(29,28,61)
-
#1a1940
#1a1940
rgb(26,25,64)
-
#171643
#171643
rgb(23,22,67)
-
#141247
#141247
rgb(20,18,71)
-
#110f4a
#110f4a
rgb(17,15,74)
-
#0e0b4e
#0e0b4e
rgb(14,11,78)
-
#0a0851
#0a0851
rgb(10,8,81)
-
#070455
#070455
rgb(7,4,85)
-
#040158
#040158
rgb(4,1,88)
Tone Color Variation
Below, you can see how #040158 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