#2A2E81#2A2E81
#2A2E81 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.137 H 274.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E81 |
|---|---|
| RGB | rgb(42, 46, 129) |
| HSL | hsl(237, 51%, 34%) |
| HSV | hsv(237, 67%, 51%) |
| CMYK | cmyk(67.4%, 64.3%, 0%, 49.4%) |
| CIE-LAB | lab(23.77, 26.46, -47.40) |
| CIE-LCH | lch(23.77, 54.29, 299.17°) |
| OKLab | oklab(35.36% 0.0115 -0.1366) |
| OKLCH | oklch(35.36% 0.137 274.8) |
| XYZ | xyz(5.8930, 4.0307, 21.2321) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.90
Midnight Blue
#191970
ΔE00 5.94
Blueberry
#464196
ΔE00 6.60
Sapphire (survey)
#2138AB
ΔE00 6.60
Royal
#0C1793
ΔE00 6.90
Marine
#042E60
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E81 #817D2A
analogous
#2A5981 #2A2E81 #512A81
triadic
#2A2E81 #812A2E #2E812A
tetradic
#2A2E81 #812A59 #817D2A #2A8151
square
#2A2E81 #812A59 #817D2A #2A8151
split-complementary
#2A2E81 #81512A #59812A
monochromatic
#0C0D25 #1B1E53 #2A2E81 #393EAF #5C61CA
Accessibility & contrast
On white
11.63
#2A2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2A2E81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E81
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E81 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2a2e81; /* rgb */ color: rgb(42, 46, 129); /* oklch */ color: oklch(35.4% 0.137 274.8);
Tailwind
colors: {
custom: {
50: '#6f67a6',
500: '#2a2e81',
950: '#000000',
},
}SCSS
$custom: #2a2e81; $custom-light: #6f67a6; $custom-dark: #000000;
JSON
{
"hex": "#2a2e81",
"rgb": {
"r": 42,
"g": 46,
"b": 129
},
"hsl": {
"h": 237.241,
"s": 50.877,
"l": 33.529
},
"oklch": {
"l": 0.35357,
"c": 0.13711,
"h": 274.8
},
"luminance": 0.04031
}Semantic roles & 50–950 ramp
primary
#2A2E81
secondary
#AFAB57
accent
#D44DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F