#2A2E8D#2A2E8D
#2A2E8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.154 H 273.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E8D |
|---|---|
| RGB | rgb(42, 46, 141) |
| HSL | hsl(238, 54%, 36%) |
| HSV | hsv(238, 70%, 55%) |
| CMYK | cmyk(70.2%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(24.85, 30.84, -53.13) |
| CIE-LCH | lch(24.85, 61.43, 300.13°) |
| OKLab | oklab(36.48% 0.0106 -0.1534) |
| OKLCH | oklch(36.48% 0.154 273.9) |
| XYZ | xyz(6.7380, 4.3687, 25.6823) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.01
Royal
#0C1793
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 5.99
Blueberry
#464196
ΔE00 6.19
Midnight Blue
#191970
ΔE00 6.61
Indigo Blue
#3A18B1
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E8D #8D892A
analogous
#2A5F8D #2A2E8D #572A8D
triadic
#2A2E8D #8D2A2E #2E8D2A
tetradic
#2A2E8D #8D2A5F #8D892A #2A8D57
square
#2A2E8D #8D2A5F #8D892A #2A8D57
split-complementary
#2A2E8D #8D572A #5F8D2A
monochromatic
#0E0F2F #1C1F5E #2A2E8D #383DBC #6166D0
Accessibility & contrast
On white
11.21
#2A2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2A2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E8D
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E8D | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a2e8d; /* rgb */ color: rgb(42, 46, 141); /* oklch */ color: oklch(36.5% 0.154 273.9);
Tailwind
colors: {
custom: {
50: '#7267af',
500: '#2a2e8d',
950: '#000000',
},
}SCSS
$custom: #2a2e8d; $custom-light: #7267af; $custom-dark: #000000;
JSON
{
"hex": "#2a2e8d",
"rgb": {
"r": 42,
"g": 46,
"b": 141
},
"hsl": {
"h": 237.576,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.36483,
"c": 0.15379,
"h": 273.9
},
"luminance": 0.04369
}Semantic roles & 50–950 ramp
primary
#2A2E8D
secondary
#B6B25D
accent
#D84ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F