#2a51a7 hex color
In a RGB color space, hex #2a51a7 is composed of 16.5% red, 31.8% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 74.9% cyan, 51.5% magenta, 0% yellow and 34.5% black. It has a hue angle of 221.3 degrees, a saturation of 59.8% and a lightness of 41%. #2a51a7 color hex could be obtained by blending #54a2ff with #00004f. Closest websafe color is: #336699.
-
- R 16
- G 32
- B 65
RGB color chart
-
- C 75
- M 51
- Y 0
- K 35
CMYK color chart
● #2a51a7 color description : Dark blue.
The hexadecimal color #2a51a7 has RGB values of R:42, G:81, B:167 and CMYK values of C:0.75, M:0.51, Y:0, K:0.35. Its decimal value is 2773415.
Hex triplet | 2a51a7 | #2a51a7 |
---|---|---|
RGB Decimal | 42, 81, 167 | rgb(42,81,167) |
RGB Percent | 16.5, 31.8, 65.5 | rgb(16.5%,31.8%,65.5%) |
CMYK | 75, 51, 0, 35 | |
HSL | 221.3°, 59.8, 41 | hsl(221.3,59.8%,41%) |
HSV (or HSB) | 221.3°, 74.9, 65.5 | |
Web Safe | 336699 | #336699 |
CIE-LAB | 36.303, 17.262, -50.329 |
---|---|
XYZ | 10.871, 9.166, 37.753 |
xyY | 0.188, 0.159, 9.166 |
CIE-LCH | 36.303, 53.207, 288.931 |
CIE-LUV | 36.303, -14.93, -72.212 |
Hunter-Lab | 30.276, 11.109, -52.74 |
Binary | 00101010, 01010001, 10100111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a51a7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a51a7
This text has a font color of #2a51a7.
<span style="color:#2a51a7;">Text here</span>
#2a51a7 background color
This paragraph has a background color of #2a51a7.
<p style="background-color:#2a51a7;">Content here</p>
#2a51a7 border color
This element has a border color of #2a51a7.
<div style="border:1px solid #2a51a7;">Content here</div>
CSS codes
.text {color:#2a51a7;}
.background {background-color:#2a51a7;}
.border {border:1px solid #2a51a7;}
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, #03050a is the darkest color, while #fafbfe is the lightest one.
-
#03050a
#03050a
rgb(3,5,10)
-
#070d1a
#070d1a
rgb(7,13,26)
-
#0a142a
#0a142a
rgb(10,20,42)
-
#0e1c39
#0e1c39
rgb(14,28,57)
-
#122349
#122349
rgb(18,35,73)
-
#162b59
#162b59
rgb(22,43,89)
-
#1a3368
#1a3368
rgb(26,51,104)
-
#1e3a78
#1e3a78
rgb(30,58,120)
-
#224288
#224288
rgb(34,66,136)
-
#264997
#264997
rgb(38,73,151)
-
#2a51a7
#2a51a7
rgb(42,81,167)
-
#2e59b7
#2e59b7
rgb(46,89,183)
-
#3260c6
#3260c6
rgb(50,96,198)
Shade Color Variation
-
#3e6bce
#3e6bce
rgb(62,107,206)
-
#4d77d2
#4d77d2
rgb(77,119,210)
-
#5d83d6
#5d83d6
rgb(93,131,214)
-
#6d8fda
#6d8fda
rgb(109,143,218)
-
#7c9bde
#7c9bde
rgb(124,155,222)
-
#8ca7e2
#8ca7e2
rgb(140,167,226)
-
#9cb3e6
#9cb3e6
rgb(156,179,230)
-
#abbfea
#abbfea
rgb(171,191,234)
-
#bbcbee
#bbcbee
rgb(187,203,238)
-
#cbd7f2
#cbd7f2
rgb(203,215,242)
-
#dae3f6
#dae3f6
rgb(218,227,246)
-
#eaeffa
#eaeffa
rgb(234,239,250)
-
#fafbfe
#fafbfe
rgb(250,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #62666f is the less saturated color, while #0242cf is the most saturated one.
-
#62666f
#62666f
rgb(98,102,111)
-
#5a6377
#5a6377
rgb(90,99,119)
-
#52607f
#52607f
rgb(82,96,127)
-
#4a5d87
#4a5d87
rgb(74,93,135)
-
#425a8f
#425a8f
rgb(66,90,143)
-
#3a5797
#3a5797
rgb(58,87,151)
-
#32549f
#32549f
rgb(50,84,159)
-
#2a51a7
#2a51a7
rgb(42,81,167)
-
#224eaf
#224eaf
rgb(34,78,175)
-
#1a4bb7
#1a4bb7
rgb(26,75,183)
-
#1248bf
#1248bf
rgb(18,72,191)
-
#0a45c7
#0a45c7
rgb(10,69,199)
-
#0242cf
#0242cf
rgb(2,66,207)
Tone Color Variation
Below, you can see how #2a51a7 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