#313A5B#313A5B
#313A5B is a dark, muted blue. Relative luminance 0.044; OKLCH L 35.6% C 0.059 H 271.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #313A5B |
|---|---|
| RGB | rgb(49, 58, 91) |
| HSL | hsl(227, 30%, 27%) |
| HSV | hsv(227, 46%, 36%) |
| CMYK | cmyk(46.2%, 36.3%, 0%, 64.3%) |
| CIE-LAB | lab(25.06, 6.12, -20.94) |
| CIE-LCH | lch(25.06, 21.82, 286.30°) |
| OKLab | oklab(35.61% 0.0016 -0.0587) |
| OKLCH | oklch(35.61% 0.059 271.5) |
| XYZ | xyz(4.6674, 4.4342, 10.5054) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.56
Marine
#042E60
ΔE00 7.56
Marine Blue
#01386A
ΔE00 8.13
Twilight Blue
#0A437A
ΔE00 9.51
Dusk
#4E5481
ΔE00 9.72
Darkish Blue
#014182
ΔE00 9.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313A5B #5B5231
analogous
#314F5B #313A5B #3D315B
triadic
#313A5B #5B313A #3A5B31
tetradic
#313A5B #5B314F #5B5231 #315B3D
square
#313A5B #5B314F #5B5231 #315B3D
split-complementary
#313A5B #5B3D31 #4F5B31
monochromatic
#0B0D14 #1C2133 #313A5B #465383 #5E6EA8
Accessibility & contrast
On white
11.13
#313A5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#313A5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313A5B
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313A5B | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#2B3A5A
Tritanopia (blue-blind)
#234146
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #313a5b; /* rgb */ color: rgb(49, 58, 91); /* oklch */ color: oklch(35.6% 0.059 271.5);
Tailwind
colors: {
custom: {
50: '#6b7089',
500: '#313a5b',
950: '#000000',
},
}SCSS
$custom: #313a5b; $custom-light: #6b7089; $custom-dark: #000000;
JSON
{
"hex": "#313a5b",
"rgb": {
"r": 49,
"g": 58,
"b": 91
},
"hsl": {
"h": 227.143,
"s": 30,
"l": 27.451
},
"oklch": {
"l": 0.35613,
"c": 0.05876,
"h": 271.5
},
"luminance": 0.04434
}Semantic roles & 50–950 ramp
primary
#313A5B
secondary
#8C825C
accent
#B162C6
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07070B
muted
#7A7A7C