#2E293F#2E293F
#2E293F is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.6% C 0.040 H 294.3°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2E293F |
|---|---|
| RGB | rgb(46, 41, 63) |
| HSL | hsl(254, 21%, 20%) |
| HSV | hsv(254, 35%, 25%) |
| CMYK | cmyk(27%, 34.9%, 0%, 75.3%) |
| CIE-LAB | lab(18.03, 8.03, -13.13) |
| CIE-LCH | lch(18.03, 15.39, 301.44°) |
| OKLab | oklab(29.65% 0.0164 -0.0363) |
| OKLCH | oklch(29.65% 0.04 294.3) |
| XYZ | xyz(2.8166, 2.5256, 5.0408) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 7.78
Dark
#1B2431
ΔE00 9.77
Navy (survey)
#01153E
ΔE00 11.07
Midnight
#03012D
ΔE00 12.32
Dark Navy Blue
#00022E
ΔE00 12.51
Marine
#042E60
ΔE00 13.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E293F #3A3F29
analogous
#292F3F #2E293F #39293F
triadic
#2E293F #3F2E29 #293F2E
tetradic
#2E293F #3F292F #3A3F29 #293F39
square
#2E293F #3F292F #3A3F29 #293F39
split-complementary
#2E293F #3F3929 #2F3F29
monochromatic
#0E0C13 #13111A #2E293F #494164 #645989
Accessibility & contrast
On white
13.95
#2E293F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#2E293F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E293F
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E293F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E293F | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242C40
Deuteranopia (green-blind)
#242C3E
Tritanopia (blue-blind)
#2B2D31
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2e293f; /* rgb */ color: rgb(46, 41, 63); /* oklch */ color: oklch(29.6% 0.040 294.3);
Tailwind
colors: {
custom: {
50: '#676274',
500: '#2e293f',
950: '#000000',
},
}SCSS
$custom: #2e293f; $custom-light: #676274; $custom-dark: #000000;
JSON
{
"hex": "#2e293f",
"rgb": {
"r": 46,
"g": 41,
"b": 63
},
"hsl": {
"h": 253.636,
"s": 21.154,
"l": 20.392
},
"oklch": {
"l": 0.2965,
"c": 0.03982,
"h": 294.3
},
"luminance": 0.02526
}Semantic roles & 50–950 ramp
primary
#2E293F
secondary
#6A7053
accent
#BE6AAB
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B