#313148#313148
#313148 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.4% C 0.041 H 283.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #313148 |
|---|---|
| RGB | rgb(49, 49, 72) |
| HSL | hsl(240, 19%, 24%) |
| HSV | hsv(240, 32%, 28%) |
| CMYK | cmyk(31.9%, 31.9%, 0%, 71.8%) |
| CIE-LAB | lab(21.27, 6.23, -14.24) |
| CIE-LCH | lch(21.27, 15.54, 293.63°) |
| OKLab | oklab(32.37% 0.0098 -0.0394) |
| OKLCH | oklch(32.37% 0.041 283.9) |
| XYZ | xyz(3.5343, 3.3174, 6.5837) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.30
Dark
#1B2431
ΔE00 8.99
Marine
#042E60
ΔE00 11.29
Navy (survey)
#01153E
ΔE00 11.65
Onyx
#353839
ΔE00 12.57
Dark Grey
#363737
ΔE00 12.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313148 #484831
analogous
#313C48 #313148 #3C3148
triadic
#313148 #483131 #314831
tetradic
#313148 #48313C #484831 #31483C
square
#313148 #48313C #484831 #31483C
split-complementary
#313148 #483C31 #3C4831
monochromatic
#0C0C12 #181824 #313148 #4A4A6C #636391
Accessibility & contrast
On white
12.62
#313148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#313148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313148
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313148 | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3449
Deuteranopia (green-blind)
#2A3247
Tritanopia (blue-blind)
#2B3539
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #313148; /* rgb */ color: rgb(49, 49, 72); /* oklch */ color: oklch(32.4% 0.041 283.9);
Tailwind
colors: {
custom: {
50: '#69697b',
500: '#313148',
950: '#000000',
},
}SCSS
$custom: #313148; $custom-light: #69697b; $custom-dark: #000000;
JSON
{
"hex": "#313148",
"rgb": {
"r": 49,
"g": 49,
"b": 72
},
"hsl": {
"h": 240,
"s": 19.008,
"l": 23.725
},
"oklch": {
"l": 0.32366,
"c": 0.04062,
"h": 283.9
},
"luminance": 0.03317
}Semantic roles & 50–950 ramp
primary
#313148
secondary
#79795C
accent
#BC6CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B