#2A2E90#2A2E90
#2A2E90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.158 H 273.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E90 |
|---|---|
| RGB | rgb(42, 46, 144) |
| HSL | hsl(238, 55%, 36%) |
| HSV | hsv(238, 71%, 56%) |
| CMYK | cmyk(70.8%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(25.13, 31.92, -54.53) |
| CIE-LCH | lch(25.13, 63.19, 300.34°) |
| OKLab | oklab(36.77% 0.0103 -0.1575) |
| OKLCH | oklch(36.77% 0.158 273.7) |
| XYZ | xyz(6.9642, 4.4592, 26.8738) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.66
Royal
#0C1793
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 6.09
Blueberry
#464196
ΔE00 6.16
Midnight Blue
#191970
ΔE00 6.86
Indigo Blue
#3A18B1
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E90 #908C2A
analogous
#2A6190 #2A2E90 #592A90
triadic
#2A2E90 #902A2E #2E902A
tetradic
#2A2E90 #902A61 #908C2A #2A9059
square
#2A2E90 #902A61 #908C2A #2A9059
split-complementary
#2A2E90 #90592A #61902A
monochromatic
#0E1031 #1C1F61 #2A2E90 #383DBF #6367D1
Accessibility & contrast
On white
11.10
#2A2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2A2E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E90
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E90 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a2e90; /* rgb */ color: rgb(42, 46, 144); /* oklch */ color: oklch(36.8% 0.158 273.7);
Tailwind
colors: {
custom: {
50: '#7267b1',
500: '#2a2e90',
950: '#000000',
},
}SCSS
$custom: #2a2e90; $custom-light: #7267b1; $custom-dark: #000000;
JSON
{
"hex": "#2a2e90",
"rgb": {
"r": 42,
"g": 46,
"b": 144
},
"hsl": {
"h": 237.647,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.36773,
"c": 0.15786,
"h": 273.7
},
"luminance": 0.0446
}Semantic roles & 50–950 ramp
primary
#2A2E90
secondary
#B7B45E
accent
#D84ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80