#021178 hex color
In a RGB color space, hex #021178 is composed of 0.8% red, 6.7% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 98.3% cyan, 85.8% magenta, 0% yellow and 52.9% black. It has a hue angle of 232.4 degrees, a saturation of 96.7% and a lightness of 23.9%. #021178 color hex could be obtained by blending #0422f0 with #000000. Closest websafe color is: #000066.
-
- R 1
- G 7
- B 47
RGB color chart
-
- C 98
- M 86
- Y 0
- K 53
CMYK color chart
● #021178 color description : Dark blue.
The hexadecimal color #021178 has RGB values of R:2, G:17, B:120 and CMYK values of C:0.98, M:0.86, Y:0, K:0.53. Its decimal value is 135544.
Hex triplet | 021178 | #021178 |
---|---|---|
RGB Decimal | 2, 17, 120 | rgb(2,17,120) |
RGB Percent | 0.8, 6.7, 47.1 | rgb(0.8%,6.7%,47.1%) |
CMYK | 98, 86, 0, 53 | |
HSL | 232.4°, 96.7, 23.9 | hsl(232.4,96.7%,23.9%) |
HSV (or HSB) | 232.4°, 98.3, 47.1 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 14.228, 37.853, -57.484 |
---|---|
XYZ | 3.615, 1.77, 17.919 |
xyY | 0.155, 0.076, 1.77 |
CIE-LCH | 14.228, 68.828, 303.365 |
CIE-LUV | 14.228, -4.722, -51.523 |
Hunter-Lab | 13.303, 25.228, -70.555 |
Binary | 00000010, 00010001, 01111000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #021178. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #021178
This text has a font color of #021178.
<span style="color:#021178;">Text here</span>
#021178 background color
This paragraph has a background color of #021178.
<p style="background-color:#021178;">Content here</p>
#021178 border color
This element has a border color of #021178.
<div style="border:1px solid #021178;">Content here</div>
CSS codes
.text {color:#021178;}
.background {background-color:#021178;}
.border {border:1px solid #021178;}
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, #000104 is the darkest color, while #f0f2ff is the lightest one.
-
#000104
#000104
rgb(0,1,4)
-
#000318
#000318
rgb(0,3,24)
-
#01062b
#01062b
rgb(1,6,43)
-
#01093e
#01093e
rgb(1,9,62)
-
#010c51
#010c51
rgb(1,12,81)
-
#020e65
#020e65
rgb(2,14,101)
-
#021178
#021178
rgb(2,17,120)
-
#02148b
#02148b
rgb(2,20,139)
-
#03169f
#03169f
rgb(3,22,159)
-
#0319b2
#0319b2
rgb(3,25,178)
-
#031cc5
#031cc5
rgb(3,28,197)
-
#041fd8
#041fd8
rgb(4,31,216)
-
#0421ec
#0421ec
rgb(4,33,236)
Shade Color Variation
-
#0827fb
#0827fb
rgb(8,39,251)
-
#1c38fb
#1c38fb
rgb(28,56,251)
-
#2f49fc
#2f49fc
rgb(47,73,252)
-
#425afc
#425afc
rgb(66,90,252)
-
#566bfc
#566bfc
rgb(86,107,252)
-
#697cfc
#697cfc
rgb(105,124,252)
-
#7c8dfd
#7c8dfd
rgb(124,141,253)
-
#8f9dfd
#8f9dfd
rgb(143,157,253)
-
#a3aefd
#a3aefd
rgb(163,174,253)
-
#b6bffe
#b6bffe
rgb(182,191,254)
-
#c9d0fe
#c9d0fe
rgb(201,208,254)
-
#dde1fe
#dde1fe
rgb(221,225,254)
-
#f0f2ff
#f0f2ff
rgb(240,242,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3a3b40 is the less saturated color, while #021178 is the most saturated one.
-
#3a3b40
#3a3b40
rgb(58,59,64)
-
#363744
#363744
rgb(54,55,68)
-
#313449
#313449
rgb(49,52,73)
-
#2c304e
#2c304e
rgb(44,48,78)
-
#282d52
#282d52
rgb(40,45,82)
-
#232957
#232957
rgb(35,41,87)
-
#1e265c
#1e265c
rgb(30,38,92)
-
#192261
#192261
rgb(25,34,97)
-
#151f65
#151f65
rgb(21,31,101)
-
#101b6a
#101b6a
rgb(16,27,106)
-
#0b186f
#0b186f
rgb(11,24,111)
-
#071473
#071473
rgb(7,20,115)
-
#021178
#021178
rgb(2,17,120)
Tone Color Variation
Below, you can see how #021178 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