#313248#313248
#313248 is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.6% C 0.039 H 282.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #313248 |
|---|---|
| RGB | rgb(49, 50, 72) |
| HSL | hsl(237, 19%, 24%) |
| HSV | hsv(237, 32%, 28%) |
| CMYK | cmyk(31.9%, 30.6%, 0%, 71.8%) |
| CIE-LAB | lab(21.59, 5.54, -13.75) |
| CIE-LCH | lch(21.59, 14.82, 291.94°) |
| OKLab | oklab(32.61% 0.0081 -0.038) |
| OKLCH | oklch(32.61% 0.039 282) |
| XYZ | xyz(3.5766, 3.4020, 6.5978) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.28
Dark
#1B2431
ΔE00 8.54
Marine
#042E60
ΔE00 11.25
Navy (survey)
#01153E
ΔE00 11.96
Onyx
#353839
ΔE00 11.99
Gunmetal
#2A3439
ΔE00 11.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313248 #484731
analogous
#313D48 #313248 #3B3148
triadic
#313248 #483132 #324831
tetradic
#313248 #48313D #484731 #31483B
square
#313248 #48313D #484731 #31483B
split-complementary
#313248 #483B31 #3D4831
monochromatic
#0C0D12 #181924 #313248 #4A4B6C #636591
Accessibility & contrast
On white
12.50
#313248 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#313248 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313248
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313248 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#2B3347
Tritanopia (blue-blind)
#2B363A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #313248; /* rgb */ color: rgb(49, 50, 72); /* oklch */ color: oklch(32.6% 0.039 282.0);
Tailwind
colors: {
custom: {
50: '#69697b',
500: '#313248',
950: '#000000',
},
}SCSS
$custom: #313248; $custom-light: #69697b; $custom-dark: #000000;
JSON
{
"hex": "#313248",
"rgb": {
"r": 49,
"g": 50,
"b": 72
},
"hsl": {
"h": 237.391,
"s": 19.008,
"l": 23.725
},
"oklch": {
"l": 0.32609,
"c": 0.03889,
"h": 282
},
"luminance": 0.03402
}Semantic roles & 50–950 ramp
primary
#313248
secondary
#79775C
accent
#B86CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B