#2A2E91#2A2E91
#2A2E91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.159 H 273.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E91 |
|---|---|
| RGB | rgb(42, 46, 145) |
| HSL | hsl(238, 55%, 37%) |
| HSV | hsv(238, 71%, 57%) |
| CMYK | cmyk(71%, 68.3%, 0%, 43.1%) |
| CIE-LAB | lab(25.23, 32.28, -55.00) |
| CIE-LCH | lch(25.23, 63.77, 300.41°) |
| OKLab | oklab(36.87% 0.0102 -0.1589) |
| OKLCH | oklch(36.87% 0.159 273.7) |
| XYZ | xyz(7.0410, 4.4899, 27.2781) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Royal
#0C1793
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.13
Blueberry
#464196
ΔE00 6.16
Midnight Blue
#191970
ΔE00 6.95
Indigo Blue
#3A18B1
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E91 #918D2A
analogous
#2A6291 #2A2E91 #5A2A91
triadic
#2A2E91 #912A2E #2E912A
tetradic
#2A2E91 #912A62 #918D2A #2A915A
square
#2A2E91 #912A62 #918D2A #2A915A
split-complementary
#2A2E91 #915A2A #62912A
monochromatic
#0F1032 #1C1F62 #2A2E91 #383DC0 #6368D2
Accessibility & contrast
On white
11.06
#2A2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2A2E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E91
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E91 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a2e91; /* rgb */ color: rgb(42, 46, 145); /* oklch */ color: oklch(36.9% 0.159 273.7);
Tailwind
colors: {
custom: {
50: '#7367b2',
500: '#2a2e91',
950: '#000000',
},
}SCSS
$custom: #2a2e91; $custom-light: #7367b2; $custom-dark: #000000;
JSON
{
"hex": "#2a2e91",
"rgb": {
"r": 42,
"g": 46,
"b": 145
},
"hsl": {
"h": 237.67,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.3687,
"c": 0.1592,
"h": 273.7
},
"luminance": 0.04491
}Semantic roles & 50–950 ramp
primary
#2A2E91
secondary
#B8B55F
accent
#D949DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80