#2A2E7A#2A2E7A
#2A2E7A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.127 H 275.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E7A |
|---|---|
| RGB | rgb(42, 46, 122) |
| HSL | hsl(237, 49%, 32%) |
| HSV | hsv(237, 66%, 48%) |
| CMYK | cmyk(65.6%, 62.3%, 0%, 52.2%) |
| CIE-LAB | lab(23.17, 23.88, -43.96) |
| CIE-LCH | lch(23.17, 50.03, 298.52°) |
| OKLab | oklab(34.73% 0.0117 -0.1265) |
| OKLCH | oklch(34.73% 0.127 275.3) |
| XYZ | xyz(5.4435, 3.8509, 18.8650) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.12
Blueberry
#464196
ΔE00 7.07
Marine
#042E60
ΔE00 7.35
Sapphire (survey)
#2138AB
ΔE00 7.66
Royal
#0C1793
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E7A #7A762A
analogous
#2A567A #2A2E7A #4E2A7A
triadic
#2A2E7A #7A2A2E #2E7A2A
tetradic
#2A2E7A #7A2A56 #7A762A #2A7A4E
square
#2A2E7A #7A2A56 #7A762A #2A7A4E
split-complementary
#2A2E7A #7A4E2A #567A2A
monochromatic
#0B0C1F #1A1D4C #2A2E7A #3A3FA8 #595EC6
Accessibility & contrast
On white
11.86
#2A2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2A2E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E7A
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E7A | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2a2e7a; /* rgb */ color: rgb(42, 46, 122); /* oklch */ color: oklch(34.7% 0.127 275.3);
Tailwind
colors: {
custom: {
50: '#6d66a1',
500: '#2a2e7a',
950: '#000000',
},
}SCSS
$custom: #2a2e7a; $custom-light: #6d66a1; $custom-dark: #000000;
JSON
{
"hex": "#2a2e7a",
"rgb": {
"r": 42,
"g": 46,
"b": 122
},
"hsl": {
"h": 237,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.34728,
"c": 0.12705,
"h": 275.3
},
"luminance": 0.03851
}Semantic roles & 50–950 ramp
primary
#2A2E7A
secondary
#ABA755
accent
#D14FD8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F