#2E2289#2E2289
#2E2289 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.161 H 278.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2289 |
|---|---|
| RGB | rgb(46, 34, 137) |
| HSL | hsl(247, 60%, 34%) |
| HSV | hsv(247, 75%, 54%) |
| CMYK | cmyk(66.4%, 75.2%, 0%, 46.3%) |
| CIE-LAB | lab(22.05, 37.38, -55.23) |
| CIE-LCH | lch(22.05, 66.69, 304.09°) |
| OKLab | oklab(34.43% 0.0251 -0.1594) |
| OKLCH | oklch(34.43% 0.161 278.9) |
| XYZ | xyz(6.2127, 3.5305, 24.0161) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.69
Midnight Blue
#191970
ΔE00 4.70
Indigo (survey)
#380282
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.14
Darkblue
#00008B
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2289 #7D8922
analogous
#224989 #2E2289 #612289
triadic
#2E2289 #892E22 #22892E
tetradic
#2E2289 #892249 #7D8922 #228961
square
#2E2289 #892249 #7D8922 #228961
split-complementary
#2E2289 #896122 #498922
monochromatic
#0D0A27 #1E1658 #2E2289 #3E2EBA #6151D4
Accessibility & contrast
On white
12.31
#2E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2E2289 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2289
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2289 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2289 | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2289; /* rgb */ color: rgb(46, 34, 137); /* oklch */ color: oklch(34.4% 0.161 278.9);
Tailwind
colors: {
custom: {
50: '#745fac',
500: '#2e2289',
950: '#000000',
},
}SCSS
$custom: #2e2289; $custom-light: #745fac; $custom-dark: #000000;
JSON
{
"hex": "#2e2289",
"rgb": {
"r": 46,
"g": 34,
"b": 137
},
"hsl": {
"h": 246.99,
"s": 60.234,
"l": 33.529
},
"oklch": {
"l": 0.34428,
"c": 0.16139,
"h": 278.9
},
"luminance": 0.03531
}Semantic roles & 50–950 ramp
primary
#2E2289
secondary
#ABB84F
accent
#E344D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F