#04158a hex color
In a RGB color space, hex #04158a is composed of 1.6% red, 8.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 84.8% magenta, 0% yellow and 45.9% black. It has a hue angle of 232.4 degrees, a saturation of 94.4% and a lightness of 27.8%. #04158a color hex could be obtained by blending #082aff with #000015. Closest websafe color is: #000099.
-
- R 2
- G 8
- B 54
RGB color chart
-
- C 97
- M 85
- Y 0
- K 46
CMYK color chart
● #04158a color description : Dark blue.
The hexadecimal color #04158a has RGB values of R:4, G:21, B:138 and CMYK values of C:0.97, M:0.85, Y:0, K:0.46. Its decimal value is 267658.
Hex triplet | 04158a | #04158a |
---|---|---|
RGB Decimal | 4, 21, 138 | rgb(4,21,138) |
RGB Percent | 1.6, 8.2, 54.1 | rgb(1.6%,8.2%,54.1%) |
CMYK | 97, 85, 0, 46 | |
HSL | 232.4°, 94.4, 27.8 | hsl(232.4,94.4%,27.8%) |
HSV (or HSB) | 232.4°, 97.1, 54.1 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 17.445, 41.991, -63.563 |
---|---|
XYZ | 4.905, 2.397, 24.247 |
xyY | 0.155, 0.076, 2.397 |
CIE-LCH | 17.445, 76.18, 303.449 |
CIE-LUV | 17.445, -5.7, -63.149 |
Hunter-Lab | 15.481, 29.459, -82.025 |
Binary | 00000100, 00010101, 10001010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #04158a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #04158a
This text has a font color of #04158a.
<span style="color:#04158a;">Text here</span>
#04158a background color
This paragraph has a background color of #04158a.
<p style="background-color:#04158a;">Content here</p>
#04158a border color
This element has a border color of #04158a.
<div style="border:1px solid #04158a;">Content here</div>
CSS codes
.text {color:#04158a;}
.background {background-color:#04158a;}
.border {border:1px solid #04158a;}
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, #000105 is the darkest color, while #f0f2ff is the lightest one.
-
#000105
#000105
rgb(0,1,5)
-
#010418
#010418
rgb(1,4,24)
-
#01062b
#01062b
rgb(1,6,43)
-
#02093e
#02093e
rgb(2,9,62)
-
#020c51
#020c51
rgb(2,12,81)
-
#030f64
#030f64
rgb(3,15,100)
-
#031277
#031277
rgb(3,18,119)
-
#04158a
#04158a
rgb(4,21,138)
-
#05189d
#05189d
rgb(5,24,157)
-
#051bb0
#051bb0
rgb(5,27,176)
-
#061ec3
#061ec3
rgb(6,30,195)
-
#0621d6
#0621d6
rgb(6,33,214)
-
#0724e9
#0724e9
rgb(7,36,233)
Shade Color Variation
-
#0c2af8
#0c2af8
rgb(12,42,248)
-
#1f3af9
#1f3af9
rgb(31,58,249)
-
#324bf9
#324bf9
rgb(50,75,249)
-
#455cfa
#455cfa
rgb(69,92,250)
-
#586dfa
#586dfa
rgb(88,109,250)
-
#6b7dfb
#6b7dfb
rgb(107,125,251)
-
#7e8efb
#7e8efb
rgb(126,142,251)
-
#919ffc
#919ffc
rgb(145,159,252)
-
#a4affc
#a4affc
rgb(164,175,252)
-
#b7c0fd
#b7c0fd
rgb(183,192,253)
-
#cad1fd
#cad1fd
rgb(202,209,253)
-
#dde2fe
#dde2fe
rgb(221,226,254)
-
#f0f2ff
#f0f2ff
rgb(240,242,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #464648 is the less saturated color, while #04158a is the most saturated one.
-
#464648
#464648
rgb(70,70,72)
-
#40424e
#40424e
rgb(64,66,78)
-
#3b3e53
#3b3e53
rgb(59,62,83)
-
#353a59
#353a59
rgb(53,58,89)
-
#30365e
#30365e
rgb(48,54,94)
-
#2a3264
#2a3264
rgb(42,50,100)
-
#252d69
#252d69
rgb(37,45,105)
-
#1f296f
#1f296f
rgb(31,41,111)
-
#1a2574
#1a2574
rgb(26,37,116)
-
#14217a
#14217a
rgb(20,33,122)
-
#0f1d7f
#0f1d7f
rgb(15,29,127)
-
#091985
#091985
rgb(9,25,133)
-
#04158a
#04158a
rgb(4,21,138)
Tone Color Variation
Below, you can see how #04158a 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