#2a2a5f color RGB value is (42,42,95)
#2a2a5f color CMYK value
#2a2a5f color HSL value
HSV(or HSB) | 240° | 55.8 | 37.3 |
XYZ | 3.848 | 2.974 | 11.198 |
Yxy | 0.214 | 0.165 | 2.974 |
LAB | 19.941 | 16.773 | -31.736 |
LUV | 19.941 | -2.656 | -36.839 |
Hunter-LAB | 17.246 | 9.649 | -26.423 |
CIE-LCH | 19.941 | 35.896 | 297.858 |
Base | Red | Green | Blue |
---|---|---|---|
Hex | 2A | 2A | 5F |
Decimal | 42 | 42 | 95 |
Octal | 52 | 52 | 137 |
Binary | 00101010 | 00101010 | 01011111 |
Below, you can see some colors close to #2a2a5f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
This text has a font color of #2a2a5f.
<span style="color:#2a2a5f">Text here</span>
This paragraph has a background color of #2a2a5f.
<p style="background-color:#2a2a5f;">Content here</p>
This element has a border color of #2a2a5f.
<div style="border:1px #2a2a5f;">Content here</div>
.text {color:#2a2a5f;}
.background {background-color:#2a2a5f;}
.border {border:1px solid #2a2a5f;}
.text-shadow {border:1px solid #2a2a5f;}
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, #030307 is the darkest color, while #f7f7fb is the lightest one.