#0402ab Color Information
In a RGB color space, hex #0402ab is composed of 1.6% red, 0.8% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 98.8% magenta, 0% yellow and 32.9% black. It has a hue angle of 240.7 degrees, a saturation of 97.7% and a lightness of 33.9%. #0402ab color hex could be obtained by blending #0804ff with #000057. Closest websafe color is: #000099.
-
- R 2
- G 1
- B 67
-
- C 98
- M 99
- Y 0
- K 33
● #0402ab color description : Dark blue.
#0402ab Color Conversion
The hexadecimal color #0402ab has RGB values of R:4, G:2, B:171 and CMYK values of C:0.98, M:0.99, Y:0, K:0.33. Its decimal value is 262827.
| Hex triplet | 0402ab | #0402ab |
|---|---|---|
| RGB Decimal | 4, 2, 171 | rgb(4,2,171) |
| RGB Percent | 1.6, 0.8, 67.1 | rgb(1.6%,0.8%,67.1%) |
| CMYK | 98, 99, 0, 33 | |
| HSL | 240.7°, 97.7, 33.9 | hsl(240.7,97.7%,33.9%) |
| HSV (or HSB) | 240.7°, 98.8, 67.1 | |
| Web Safe | 000099 | #000099 |
| CIE-LAB | 20.08, 58.188, -79.483 |
|---|---|
| XYZ | 7.421, 3.009, 38.715 |
| xyY | 0.151, 0.061, 3.009 |
| CIE-LCH | 20.08, 98.506, 306.207 |
| CIE-LUV | 20.08, -5.712, -80.35 |
| Hunter-Lab | 17.346, 46.009, -120.188 |
| Binary | 00000100, 00000010, 10101011 |
Color Schemes with #0402ab
Alternatives to #0402ab
Below, you can see some colors close to #0402ab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#0402ab Preview
This text has a font color of #0402ab.
<span style="color:#0402ab;">Text here</span>
This paragraph has a background color of #0402ab.
<p style="background-color:#0402ab;">Content here</p>
This element has a border color of #0402ab.
<div style="border:1px solid #0402ab;">Content here</div>
.text {color:#0402ab;}
.background {background-color:#0402ab;}
.border {border:1px solid #0402ab;}
Shades and Tints of #0402ab
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, #000010 is the darkest color, while #fcfcff is the lightest one.
-
#000010
#000010rgb(0,0,16) -
#010023
#010023rgb(1,0,35) -
#010137
#010137rgb(1,1,55) -
#02014a
#02014argb(2,1,74) -
#02015d
#02015drgb(2,1,93) -
#030171
#030171rgb(3,1,113) -
#030284
#030284rgb(3,2,132) -
#040298
#040298rgb(4,2,152) -
#0402ab
#0402abrgb(4,2,171) -
#0402be
#0402bergb(4,2,190) -
#0502d2
#0502d2rgb(5,2,210) -
#0503e5
#0503e5rgb(5,3,229) -
#0603f9
#0603f9rgb(6,3,249)
-
#1613fc
#1613fcrgb(22,19,252) -
#2926fc
#2926fcrgb(41,38,252) -
#3c3afd
#3c3afdrgb(60,58,253) -
#4f4dfd
#4f4dfdrgb(79,77,253) -
#6260fd
#6260fdrgb(98,96,253) -
#7574fd
#7574fdrgb(117,116,253) -
#8987fe
#8987fergb(137,135,254) -
#9c9bfe
#9c9bfergb(156,155,254) -
#afaefe
#afaefergb(175,174,254) -
#c2c1fe
#c2c1fergb(194,193,254) -
#d5d5ff
#d5d5ffrgb(213,213,255) -
#e8e8ff
#e8e8ffrgb(232,232,255) -
#fcfcff
#fcfcffrgb(252,252,255)
Tones of #0402ab
A tone is produced by adding gray to any pure hue. In this case, #52525b is the less saturated color, while #0402ab is the most saturated one.
-
#52525b
#52525brgb(82,82,91) -
#4b4b62
#4b4b62rgb(75,75,98) -
#454568
#454568rgb(69,69,104) -
#3e3e6f
#3e3e6frgb(62,62,111) -
#383776
#383776rgb(56,55,118) -
#31317c
#31317crgb(49,49,124) -
#2b2a83
#2b2a83rgb(43,42,131) -
#24238a
#24238argb(36,35,138) -
#1e1d90
#1e1d90rgb(30,29,144) -
#171697
#171697rgb(23,22,151) -
#110f9e
#110f9ergb(17,15,158) -
#0a09a4
#0a09a4rgb(10,9,164) -
#0402ab
#0402abrgb(4,2,171)
Color Blindness Simulator
Below, you can see how #0402ab 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.
