#2E283F#2E283F
#2E283F is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.4% C 0.042 H 295.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E283F |
|---|---|
| RGB | rgb(46, 40, 63) |
| HSL | hsl(256, 22%, 20%) |
| HSV | hsv(256, 37%, 25%) |
| CMYK | cmyk(27%, 36.5%, 0%, 75.3%) |
| CIE-LAB | lab(17.72, 8.74, -13.61) |
| CIE-LCH | lch(17.72, 16.18, 302.69°) |
| OKLab | oklab(29.41% 0.0181 -0.0377) |
| OKLCH | oklch(29.41% 0.042 295.7) |
| XYZ | xyz(2.7825, 2.4573, 5.0294) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.01
Dark
#1B2431
ΔE00 10.32
Navy (survey)
#01153E
ΔE00 10.85
Midnight
#03012D
ΔE00 12.00
Dark Navy Blue
#00022E
ΔE00 12.23
Navy Blue (survey)
#001146
ΔE00 12.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E283F #393F28
analogous
#282D3F #2E283F #39283F
triadic
#2E283F #3F2E28 #283F2E
tetradic
#2E283F #3F282D #393F28 #283F39
square
#2E283F #3F282D #393F28 #283F39
split-complementary
#2E283F #3F3928 #2D3F28
monochromatic
#0E0C13 #13101A #2E283F #494064 #65588A
Accessibility & contrast
On white
14.08
#2E283F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#2E283F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E283F
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E283F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E283F | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222C40
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#2B2C30
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2e283f; /* rgb */ color: rgb(46, 40, 63); /* oklch */ color: oklch(29.4% 0.042 295.7);
Tailwind
colors: {
custom: {
50: '#676174',
500: '#2e283f',
950: '#000000',
},
}SCSS
$custom: #2e283f; $custom-light: #676174; $custom-dark: #000000;
JSON
{
"hex": "#2e283f",
"rgb": {
"r": 46,
"g": 40,
"b": 63
},
"hsl": {
"h": 255.652,
"s": 22.33,
"l": 20.196
},
"oklch": {
"l": 0.29412,
"c": 0.04181,
"h": 295.7
},
"luminance": 0.02457
}Semantic roles & 50–950 ramp
primary
#2E283F
secondary
#697152
accent
#BF69A8
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060508
muted
#7A797B