#2E2A92#2E2A92
#2E2A92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.164 H 276.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2A92 |
|---|---|
| RGB | rgb(46, 42, 146) |
| HSL | hsl(242, 55%, 37%) |
| HSV | hsv(242, 71%, 57%) |
| CMYK | cmyk(68.5%, 71.2%, 0%, 42.7%) |
| CIE-LAB | lab(24.68, 35.66, -56.51) |
| CIE-LCH | lch(24.68, 66.82, 302.25°) |
| OKLab | oklab(36.57% 0.0179 -0.1632) |
| OKLCH | oklch(36.57% 0.164 276.2) |
| XYZ | xyz(7.1413, 4.3115, 27.6444) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.81
Sapphire (survey)
#2138AB
ΔE00 5.34
Indigo Blue
#3A18B1
ΔE00 5.95
Midnight Blue
#191970
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.60
Cobalt Blue
#030AA7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2A92 #8E922A
analogous
#2A5A92 #2E2A92 #622A92
triadic
#2E2A92 #922E2A #2A922E
tetradic
#2E2A92 #922A5A #8E922A #2A9262
square
#2E2A92 #922A5A #8E922A #2A9262
split-complementary
#2E2A92 #92622A #5A922A
monochromatic
#100F33 #1F1C62 #2E2A92 #3D38C2 #6864D2
Accessibility & contrast
On white
11.28
#2E2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2E2A92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2A92
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2A92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2A92 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e2a92; /* rgb */ color: rgb(46, 42, 146); /* oklch */ color: oklch(36.6% 0.164 276.2);
Tailwind
colors: {
custom: {
50: '#7564b3',
500: '#2e2a92',
950: '#000000',
},
}SCSS
$custom: #2e2a92; $custom-light: #7564b3; $custom-dark: #000000;
JSON
{
"hex": "#2e2a92",
"rgb": {
"r": 46,
"g": 42,
"b": 146
},
"hsl": {
"h": 242.308,
"s": 55.319,
"l": 36.863
},
"oklch": {
"l": 0.36572,
"c": 0.16418,
"h": 276.2
},
"luminance": 0.04312
}Semantic roles & 50–950 ramp
primary
#2E2A92
secondary
#B5B85F
accent
#DF49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80