#313554#313554
#313554 is a dark, muted blue. Relative luminance 0.038; OKLCH L 34.0% C 0.055 H 277.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #313554 |
|---|---|
| RGB | rgb(49, 53, 84) |
| HSL | hsl(233, 26%, 26%) |
| HSV | hsv(233, 42%, 33%) |
| CMYK | cmyk(41.7%, 36.9%, 0%, 67.1%) |
| CIE-LAB | lab(23.13, 7.24, -19.36) |
| CIE-LCH | lch(23.13, 20.67, 290.52°) |
| OKLab | oklab(34% 0.0071 -0.0542) |
| OKLCH | oklch(34% 0.055 277.5) |
| XYZ | xyz(4.1395, 3.8391, 8.9087) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.17
Marine
#042E60
ΔE00 8.64
Marine Blue
#01386A
ΔE00 9.97
Dark
#1B2431
ΔE00 10.66
Navy (survey)
#01153E
ΔE00 10.97
Dusk
#4E5481
ΔE00 11.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313554 #545031
analogous
#314654 #313554 #3E3154
triadic
#313554 #543135 #355431
tetradic
#313554 #543146 #545031 #31543E
square
#313554 #543146 #545031 #31543E
split-complementary
#313554 #543E31 #465431
monochromatic
#0B0C13 #1A1D2D #313554 #484D7B #5E66A1
Accessibility & contrast
On white
11.88
#313554 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#313554 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313554
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313554 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313554 | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3955
Deuteranopia (green-blind)
#293653
Tritanopia (blue-blind)
#273B40
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #313554; /* rgb */ color: rgb(49, 53, 84); /* oklch */ color: oklch(34.0% 0.055 277.5);
Tailwind
colors: {
custom: {
50: '#6b6c84',
500: '#313554',
950: '#000000',
},
}SCSS
$custom: #313554; $custom-light: #6b6c84; $custom-dark: #000000;
JSON
{
"hex": "#313554",
"rgb": {
"r": 49,
"g": 53,
"b": 84
},
"hsl": {
"h": 233.143,
"s": 26.316,
"l": 26.078
},
"oklch": {
"l": 0.34003,
"c": 0.05462,
"h": 277.5
},
"luminance": 0.03839
}Semantic roles & 50–950 ramp
primary
#313554
secondary
#85805C
accent
#B865C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C