#313656#313656
#313656 is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.4% C 0.056 H 276.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #313656 |
|---|---|
| RGB | rgb(49, 54, 86) |
| HSL | hsl(232, 27%, 26%) |
| HSV | hsv(232, 43%, 34%) |
| CMYK | cmyk(43%, 37.2%, 0%, 66.3%) |
| CIE-LAB | lab(23.55, 7.21, -20.03) |
| CIE-LCH | lch(23.55, 21.28, 289.80°) |
| OKLab | oklab(34.36% 0.0061 -0.0561) |
| OKLCH | oklch(34.36% 0.056 276.2) |
| XYZ | xyz(4.2650, 3.9630, 9.3425) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.17
Marine
#042E60
ΔE00 8.28
Marine Blue
#01386A
ΔE00 9.50
Dark
#1B2431
ΔE00 10.87
Dusk
#4E5481
ΔE00 10.89
Navy (survey)
#01153E
ΔE00 11.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313656 #565131
analogous
#314956 #313656 #3F3156
triadic
#313656 #563136 #365631
tetradic
#313656 #563149 #565131 #31563F
square
#313656 #563149 #565131 #31563F
split-complementary
#313656 #563F31 #495631
monochromatic
#0B0C13 #1B1E2F #313656 #474E7D #5E67A3
Accessibility & contrast
On white
11.71
#313656 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#313656 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313656
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313656 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313656 | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3A57
Deuteranopia (green-blind)
#293755
Tritanopia (blue-blind)
#263C42
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #313656; /* rgb */ color: rgb(49, 54, 86); /* oklch */ color: oklch(34.4% 0.056 276.2);
Tailwind
colors: {
custom: {
50: '#6b6c86',
500: '#313656',
950: '#000000',
},
}SCSS
$custom: #313656; $custom-light: #6b6c86; $custom-dark: #000000;
JSON
{
"hex": "#313656",
"rgb": {
"r": 49,
"g": 54,
"b": 86
},
"hsl": {
"h": 231.892,
"s": 27.407,
"l": 26.471
},
"oklch": {
"l": 0.3436,
"c": 0.05643,
"h": 276.2
},
"luminance": 0.03963
}Semantic roles & 50–950 ramp
primary
#313656
secondary
#87815C
accent
#B764C4
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07070B
muted
#7A7A7C