#2E313F#2E313F
#2E313F is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.025 H 275.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2E313F |
|---|---|
| RGB | rgb(46, 49, 63) |
| HSL | hsl(229, 16%, 21%) |
| HSV | hsv(229, 27%, 25%) |
| CMYK | cmyk(27%, 22.2%, 0%, 75.3%) |
| CIE-LAB | lab(20.58, 2.45, -9.22) |
| CIE-LCH | lch(20.58, 9.54, 284.87°) |
| OKLab | oklab(31.62% 0.0024 -0.0253) |
| OKLCH | oklch(31.62% 0.025 275.4) |
| XYZ | xyz(3.1220, 3.1363, 5.1425) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.53
Gunmetal
#2A3439
ΔE00 7.88
Navy Blue
#1B2A4A
ΔE00 7.96
Onyx
#353839
ΔE00 8.20
Dark Grey
#363737
ΔE00 8.41
Charcoal
#36454F
ΔE00 9.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E313F #3F3C2E
analogous
#2E3A3F #2E313F #342E3F
triadic
#2E313F #3F2E31 #313F2E
tetradic
#2E313F #3F2E3A #3F3C2E #2E3F34
square
#2E313F #3F2E3A #3F3C2E #2E3F34
split-complementary
#2E313F #3F342E #3A3F2E
monochromatic
#0D0E12 #14151C #2E313F #484D62 #626886
Accessibility & contrast
On white
12.91
#2E313F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2E313F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E313F
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E313F | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3240
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#2A3436
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2e313f; /* rgb */ color: rgb(46, 49, 63); /* oklch */ color: oklch(31.6% 0.025 275.4);
Tailwind
colors: {
custom: {
50: '#676974',
500: '#2e313f',
950: '#000000',
},
}SCSS
$custom: #2e313f; $custom-light: #676974; $custom-dark: #000000;
JSON
{
"hex": "#2e313f",
"rgb": {
"r": 46,
"g": 49,
"b": 63
},
"hsl": {
"h": 229.412,
"s": 15.596,
"l": 21.373
},
"oklch": {
"l": 0.31623,
"c": 0.02537,
"h": 275.4
},
"luminance": 0.03136
}Semantic roles & 50–950 ramp
primary
#2E313F
secondary
#6F6B59
accent
#AB6FB8
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B