#0642a7 hex color
In a RGB color space, hex #0642a7 is composed of 2.4% red, 25.9% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 96.4% cyan, 60.5% magenta, 0% yellow and 34.5% black. It has a hue angle of 217.6 degrees, a saturation of 93.1% and a lightness of 33.9%. #0642a7 color hex could be obtained by blending #0c84ff with #00004f. Closest websafe color is: #003399.
-
- R 2
- G 26
- B 65
RGB color chart
-
- C 96
- M 60
- Y 0
- K 35
CMYK color chart
● #0642a7 color description : Dark blue.
The hexadecimal color #0642a7 has RGB values of R:6, G:66, B:167 and CMYK values of C:0.96, M:0.6, Y:0, K:0.35. Its decimal value is 410279.
Hex triplet | 0642a7 | #0642a7 |
---|---|---|
RGB Decimal | 6, 66, 167 | rgb(6,66,167) |
RGB Percent | 2.4, 25.9, 65.5 | rgb(2.4%,25.9%,65.5%) |
CMYK | 96, 60, 0, 35 | |
HSL | 217.6°, 93.1, 33.9 | hsl(217.6,93.1%,33.9%) |
HSV (or HSB) | 217.6°, 96.4, 65.5 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 31.171, 24.547, -58.713 |
---|---|
XYZ | 8.997, 6.724, 37.381 |
xyY | 0.169, 0.127, 6.724 |
CIE-LCH | 31.171, 63.638, 292.689 |
CIE-LUV | 31.171, -14.482, -79.315 |
Hunter-Lab | 25.931, 16.55, -67.316 |
Binary | 00000110, 01000010, 10100111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0642a7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0642a7
This text has a font color of #0642a7.
<span style="color:#0642a7;">Text here</span>
#0642a7 background color
This paragraph has a background color of #0642a7.
<p style="background-color:#0642a7;">Content here</p>
#0642a7 border color
This element has a border color of #0642a7.
<div style="border:1px solid #0642a7;">Content here</div>
CSS codes
.text {color:#0642a7;}
.background {background-color:#0642a7;}
.border {border:1px solid #0642a7;}
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, #010610 is the darkest color, while #fcfdff is the lightest one.
-
#010610
#010610
rgb(1,6,16)
-
#010e22
#010e22
rgb(1,14,34)
-
#021535
#021535
rgb(2,21,53)
-
#031d48
#031d48
rgb(3,29,72)
-
#03245b
#03245b
rgb(3,36,91)
-
#042c6e
#042c6e
rgb(4,44,110)
-
#053381
#053381
rgb(5,51,129)
-
#053b94
#053b94
rgb(5,59,148)
-
#0642a7
#0642a7
rgb(6,66,167)
-
#0749ba
#0749ba
rgb(7,73,186)
-
#0751cd
#0751cd
rgb(7,81,205)
-
#0858e0
#0858e0
rgb(8,88,224)
-
#0960f3
#0960f3
rgb(9,96,243)
Shade Color Variation
-
#186bf7
#186bf7
rgb(24,107,247)
-
#2b77f7
#2b77f7
rgb(43,119,247)
-
#3e83f8
#3e83f8
rgb(62,131,248)
-
#5190f9
#5190f9
rgb(81,144,249)
-
#649cf9
#649cf9
rgb(100,156,249)
-
#77a8fa
#77a8fa
rgb(119,168,250)
-
#8ab4fb
#8ab4fb
rgb(138,180,251)
-
#9dc0fb
#9dc0fb
rgb(157,192,251)
-
#b0ccfc
#b0ccfc
rgb(176,204,252)
-
#c3d8fd
#c3d8fd
rgb(195,216,253)
-
#d6e5fe
#d6e5fe
rgb(214,229,254)
-
#e9f1fe
#e9f1fe
rgb(233,241,254)
-
#fcfdff
#fcfdff
rgb(252,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #565657 is the less saturated color, while #0642a7 is the most saturated one.
-
#565657
#565657
rgb(86,86,87)
-
#4f555e
#4f555e
rgb(79,85,94)
-
#495364
#495364
rgb(73,83,100)
-
#42516b
#42516b
rgb(66,81,107)
-
#3b5072
#3b5072
rgb(59,80,114)
-
#354e78
#354e78
rgb(53,78,120)
-
#2e4c7f
#2e4c7f
rgb(46,76,127)
-
#274a86
#274a86
rgb(39,74,134)
-
#21498c
#21498c
rgb(33,73,140)
-
#1a4793
#1a4793
rgb(26,71,147)
-
#13459a
#13459a
rgb(19,69,154)
-
#0d44a0
#0d44a0
rgb(13,68,160)
-
#0642a7
#0642a7
rgb(6,66,167)
Tone Color Variation
Below, you can see how #0642a7 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