#313751#313751
#313751 is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.3% C 0.046 H 273.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #313751 |
|---|---|
| RGB | rgb(49, 55, 81) |
| HSL | hsl(229, 25%, 25%) |
| HSV | hsv(229, 40%, 32%) |
| CMYK | cmyk(39.5%, 32.1%, 0%, 68.2%) |
| CIE-LAB | lab(23.60, 4.90, -16.64) |
| CIE-LCH | lch(23.60, 17.34, 286.42°) |
| OKLab | oklab(34.32% 0.003 -0.0463) |
| OKLCH | oklch(34.32% 0.046 273.7) |
| XYZ | xyz(4.1176, 3.9793, 8.3341) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.40
Marine
#042E60
ΔE00 9.11
Dark
#1B2431
ΔE00 9.27
Marine Blue
#01386A
ΔE00 9.94
Dark Blue Grey
#1F3B4D
ΔE00 10.86
Dark Grey Blue
#29465B
ΔE00 10.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313751 #514B31
analogous
#314751 #313751 #3B3151
triadic
#313751 #513137 #375131
tetradic
#313751 #513147 #514B31 #31513B
square
#313751 #513147 #514B31 #31513B
split-complementary
#313751 #513B31 #475131
monochromatic
#0C0D13 #1A1D2B #313751 #485177 #5F6B9D
Accessibility & contrast
On white
11.69
#313751 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#313751 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313751
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313751 | 1.00 | 11.69 | 1.80 | 11.69 |
| #FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#2C3750
Tritanopia (blue-blind)
#283C40
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #313751; /* rgb */ color: rgb(49, 55, 81); /* oklch */ color: oklch(34.3% 0.046 273.7);
Tailwind
colors: {
custom: {
50: '#6a6d82',
500: '#313751',
950: '#000000',
},
}SCSS
$custom: #313751; $custom-light: #6a6d82; $custom-dark: #000000;
JSON
{
"hex": "#313751",
"rgb": {
"r": 49,
"g": 55,
"b": 81
},
"hsl": {
"h": 228.75,
"s": 24.615,
"l": 25.49
},
"oklch": {
"l": 0.34317,
"c": 0.04642,
"h": 273.7
},
"luminance": 0.03979
}Semantic roles & 50–950 ramp
primary
#313751
secondary
#827B5C
accent
#B067C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06070A
muted
#7A7A7C