#313754#313754
#313754 is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.5% C 0.052 H 274.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #313754 |
|---|---|
| RGB | rgb(49, 55, 84) |
| HSL | hsl(230, 26%, 26%) |
| HSV | hsv(230, 42%, 33%) |
| CMYK | cmyk(41.7%, 34.5%, 0%, 67.1%) |
| CIE-LAB | lab(23.75, 5.87, -18.38) |
| CIE-LCH | lch(23.75, 19.30, 287.70°) |
| OKLab | oklab(34.48% 0.004 -0.0513) |
| OKLCH | oklch(34.48% 0.052 274.5) |
| XYZ | xyz(4.2326, 4.0253, 8.9397) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.20
Marine
#042E60
ΔE00 8.57
Marine Blue
#01386A
ΔE00 9.53
Dark
#1B2431
ΔE00 10.09
Dusk
#4E5481
ΔE00 11.03
Twilight Blue
#0A437A
ΔE00 11.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313754 #544E31
analogous
#314854 #313754 #3C3154
triadic
#313754 #543137 #375431
tetradic
#313754 #543148 #544E31 #31543C
square
#313754 #543148 #544E31 #31543C
split-complementary
#313754 #543C31 #485431
monochromatic
#0B0D13 #1A1E2D #313754 #48507B #5E6AA1
Accessibility & contrast
On white
11.63
#313754 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#313754 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313754
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313754 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313754 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3A55
Deuteranopia (green-blind)
#2B3753
Tritanopia (blue-blind)
#263D41
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #313754; /* rgb */ color: rgb(49, 55, 84); /* oklch */ color: oklch(34.5% 0.052 274.5);
Tailwind
colors: {
custom: {
50: '#6a6d84',
500: '#313754',
950: '#000000',
},
}SCSS
$custom: #313754; $custom-light: #6a6d84; $custom-dark: #000000;
JSON
{
"hex": "#313754",
"rgb": {
"r": 49,
"g": 55,
"b": 84
},
"hsl": {
"h": 229.714,
"s": 26.316,
"l": 26.078
},
"oklch": {
"l": 0.34484,
"c": 0.05151,
"h": 274.5
},
"luminance": 0.04025
}Semantic roles & 50–950 ramp
primary
#313754
secondary
#857E5C
accent
#B365C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070B
muted
#7A7A7C