#313951#313951
#313951 is a dark, muted blue. Relative luminance 0.042; OKLCH L 34.8% C 0.043 H 269.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #313951 |
|---|---|
| RGB | rgb(49, 57, 81) |
| HSL | hsl(225, 25%, 25%) |
| HSV | hsv(225, 40%, 32%) |
| CMYK | cmyk(39.5%, 29.6%, 0%, 68.2%) |
| CIE-LAB | lab(24.24, 3.54, -15.66) |
| CIE-LCH | lch(24.24, 16.05, 282.75°) |
| OKLab | oklab(34.81% -0.0001 -0.0435) |
| OKLCH | oklch(34.81% 0.044 269.9) |
| XYZ | xyz(4.2145, 4.1731, 8.3664) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.87
Dark
#1B2431
ΔE00 8.76
Marine
#042E60
ΔE00 9.14
Dark Blue Grey
#1F3B4D
ΔE00 9.46
Dark Grey Blue
#29465B
ΔE00 9.53
Marine Blue
#01386A
ΔE00 9.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313951 #514931
analogous
#314951 #313951 #393151
triadic
#313951 #513139 #395131
tetradic
#313951 #513149 #514931 #315139
square
#313951 #513149 #514931 #315139
split-complementary
#313951 #513931 #495131
monochromatic
#0C0D13 #1A1E2B #313951 #485477 #5F6F9D
Accessibility & contrast
On white
11.45
#313951 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#313951 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313951
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313951 | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313B52
Deuteranopia (green-blind)
#2E3850
Tritanopia (blue-blind)
#273E41
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #313951; /* rgb */ color: rgb(49, 57, 81); /* oklch */ color: oklch(34.8% 0.043 269.9);
Tailwind
colors: {
custom: {
50: '#6a6f82',
500: '#313951',
950: '#000000',
},
}SCSS
$custom: #313951; $custom-light: #6a6f82; $custom-dark: #000000;
JSON
{
"hex": "#313951",
"rgb": {
"r": 49,
"g": 57,
"b": 81
},
"hsl": {
"h": 225,
"s": 24.615,
"l": 25.49
},
"oklch": {
"l": 0.34808,
"c": 0.0435,
"h": 269.9
},
"luminance": 0.04173
}Semantic roles & 50–950 ramp
primary
#313951
secondary
#82785C
accent
#AA67C1
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C