#0642a1 hex color
In a RGB color space, hex #0642a1 is composed of 2.4% red, 25.9% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 96.3% cyan, 59% magenta, 0% yellow and 36.9% black. It has a hue angle of 216.8 degrees, a saturation of 92.8% and a lightness of 32.7%. #0642a1 color hex could be obtained by blending #0c84ff with #000043. Closest websafe color is: #003399.
-
- R 2
- G 26
- B 63
RGB color chart
-
- C 96
- M 59
- Y 0
- K 37
CMYK color chart
● #0642a1 color description : Dark blue.
The hexadecimal color #0642a1 has RGB values of R:6, G:66, B:161 and CMYK values of C:0.96, M:0.59, Y:0, K:0.37. Its decimal value is 410273.
Hex triplet | 0642a1 | #0642a1 |
---|---|---|
RGB Decimal | 6, 66, 161 | rgb(6,66,161) |
RGB Percent | 2.4, 25.9, 63.1 | rgb(2.4%,25.9%,63.1%) |
CMYK | 96, 59, 0, 37 | |
HSL | 216.8°, 92.8, 32.7 | hsl(216.8,92.8%,32.7%) |
HSV (or HSB) | 216.8°, 96.3, 63.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.659, 22.085, -55.938 |
---|---|
XYZ | 8.455, 6.508, 34.527 |
xyY | 0.171, 0.131, 6.508 |
CIE-LCH | 30.659, 60.14, 291.545 |
CIE-LUV | 30.659, -14.557, -75.317 |
Hunter-Lab | 25.51, 14.519, -62.389 |
Binary | 00000110, 01000010, 10100001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0642a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0642a1
This text has a font color of #0642a1.
<span style="color:#0642a1;">Text here</span>
#0642a1 background color
This paragraph has a background color of #0642a1.
<p style="background-color:#0642a1;">Content here</p>
#0642a1 border color
This element has a border color of #0642a1.
<div style="border:1px solid #0642a1;">Content here</div>
CSS codes
.text {color:#0642a1;}
.background {background-color:#0642a1;}
.border {border:1px solid #0642a1;}
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, #00040a is the darkest color, while #f6f9ff is the lightest one.
-
#00040a
#00040a
rgb(0,4,10)
-
#010c1d
#010c1d
rgb(1,12,29)
-
#021330
#021330
rgb(2,19,48)
-
#021b42
#021b42
rgb(2,27,66)
-
#032355
#032355
rgb(3,35,85)
-
#042b68
#042b68
rgb(4,43,104)
-
#05327b
#05327b
rgb(5,50,123)
-
#053a8e
#053a8e
rgb(5,58,142)
-
#0642a1
#0642a1
rgb(6,66,161)
-
#074ab4
#074ab4
rgb(7,74,180)
-
#0752c7
#0752c7
rgb(7,82,199)
-
#0859da
#0859da
rgb(8,89,218)
-
#0961ed
#0961ed
rgb(9,97,237)
Shade Color Variation
-
#136bf6
#136bf6
rgb(19,107,246)
-
#2677f7
#2677f7
rgb(38,119,247)
-
#3983f8
#3983f8
rgb(57,131,248)
-
#4c8ef8
#4c8ef8
rgb(76,142,248)
-
#5f9af9
#5f9af9
rgb(95,154,249)
-
#71a6fa
#71a6fa
rgb(113,166,250)
-
#84b2fa
#84b2fa
rgb(132,178,250)
-
#97befb
#97befb
rgb(151,190,251)
-
#aacafc
#aacafc
rgb(170,202,252)
-
#bdd6fd
#bdd6fd
rgb(189,214,253)
-
#d0e2fd
#d0e2fd
rgb(208,226,253)
-
#e3edfe
#e3edfe
rgb(227,237,254)
-
#f6f9ff
#f6f9ff
rgb(246,249,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #535354 is the less saturated color, while #0642a1 is the most saturated one.
-
#535354
#535354
rgb(83,83,84)
-
#4d525a
#4d525a
rgb(77,82,90)
-
#465161
#465161
rgb(70,81,97)
-
#404f67
#404f67
rgb(64,79,103)
-
#394e6e
#394e6e
rgb(57,78,110)
-
#334c74
#334c74
rgb(51,76,116)
-
#2d4b7a
#2d4b7a
rgb(45,75,122)
-
#264981
#264981
rgb(38,73,129)
-
#204887
#204887
rgb(32,72,135)
-
#19468e
#19468e
rgb(25,70,142)
-
#134594
#134594
rgb(19,69,148)
-
#0c439b
#0c439b
rgb(12,67,155)
-
#0642a1
#0642a1
rgb(6,66,161)
Tone Color Variation
Below, you can see how #0642a1 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