#313B59#313B59
#313B59 is a dark, muted blue. Relative luminance 0.045; OKLCH L 35.7% C 0.054 H 269.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #313B59 |
|---|---|
| RGB | rgb(49, 59, 89) |
| HSL | hsl(225, 29%, 27%) |
| HSV | hsv(225, 45%, 35%) |
| CMYK | cmyk(44.9%, 33.7%, 0%, 65.1%) |
| CIE-LAB | lab(25.27, 4.78, -19.31) |
| CIE-LCH | lch(25.27, 19.89, 283.90°) |
| OKLab | oklab(35.74% -0.0005 -0.054) |
| OKLCH | oklch(35.74% 0.054 269.5) |
| XYZ | xyz(4.6332, 4.5019, 10.0741) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.71
Marine
#042E60
ΔE00 7.86
Marine Blue
#01386A
ΔE00 8.14
Twilight Blue
#0A437A
ΔE00 9.43
Dark Grey Blue
#29465B
ΔE00 9.84
Dusk
#4E5481
ΔE00 9.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313B59 #594F31
analogous
#314F59 #313B59 #3B3159
triadic
#313B59 #59313B #3B5931
tetradic
#313B59 #59314F #594F31 #31593B
square
#313B59 #59314F #594F31 #31593B
split-complementary
#313B59 #593B31 #4F5931
monochromatic
#0B0D14 #1B2132 #313B59 #475580 #5E70A6
Accessibility & contrast
On white
11.05
#313B59 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#313B59 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313B59
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313B59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313B59 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313E5A
Deuteranopia (green-blind)
#2D3A58
Tritanopia (blue-blind)
#244146
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #313b59; /* rgb */ color: rgb(49, 59, 89); /* oklch */ color: oklch(35.7% 0.054 269.5);
Tailwind
colors: {
custom: {
50: '#6b7088',
500: '#313b59',
950: '#000000',
},
}SCSS
$custom: #313b59; $custom-light: #6b7088; $custom-dark: #000000;
JSON
{
"hex": "#313b59",
"rgb": {
"r": 49,
"g": 59,
"b": 89
},
"hsl": {
"h": 225,
"s": 28.986,
"l": 27.059
},
"oklch": {
"l": 0.3574,
"c": 0.05402,
"h": 269.5
},
"luminance": 0.04502
}Semantic roles & 50–950 ramp
primary
#313B59
secondary
#8A7F5C
accent
#AD63C5
background
#F6F6F8
surface
#EBECEF
border
#C6C7CA
text
#07070B
muted
#7A7A7C