#2E2189#2E2189
#2E2189 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.162 H 279.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2189 |
|---|---|
| RGB | rgb(46, 33, 137) |
| HSL | hsl(248, 61%, 33%) |
| HSV | hsv(248, 76%, 54%) |
| CMYK | cmyk(66.4%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(21.85, 37.96, -55.56) |
| CIE-LCH | lch(21.85, 67.29, 304.34°) |
| OKLab | oklab(34.28% 0.0258 -0.1604) |
| OKLCH | oklch(34.28% 0.162 279.1) |
| XYZ | xyz(6.1845, 3.4742, 24.0067) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.55
Midnight Blue
#191970
ΔE00 4.66
Indigo (survey)
#380282
ΔE00 5.45
Cobalt Blue
#030AA7
ΔE00 5.83
Indigo Blue
#3A18B1
ΔE00 6.06
Darkblue
#00008B
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2189 #7C8921
analogous
#214889 #2E2189 #622189
triadic
#2E2189 #892E21 #21892E
tetradic
#2E2189 #892148 #7C8921 #218962
square
#2E2189 #892148 #7C8921 #218962
split-complementary
#2E2189 #896221 #488921
monochromatic
#0D0926 #1D1558 #2E2189 #3F2DBA #6050D5
Accessibility & contrast
On white
12.39
#2E2189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2E2189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2189
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2189 | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2189; /* rgb */ color: rgb(46, 33, 137); /* oklch */ color: oklch(34.3% 0.162 279.1);
Tailwind
colors: {
custom: {
50: '#745eac',
500: '#2e2189',
950: '#000000',
},
}SCSS
$custom: #2e2189; $custom-light: #745eac; $custom-dark: #000000;
JSON
{
"hex": "#2e2189",
"rgb": {
"r": 46,
"g": 33,
"b": 137
},
"hsl": {
"h": 247.5,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.34284,
"c": 0.16247,
"h": 279.1
},
"luminance": 0.03475
}Semantic roles & 50–950 ramp
primary
#2E2189
secondary
#ABB84E
accent
#E444D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F