#313F5F#313F5F
#313F5F is a dark, muted blue. Relative luminance 0.050; OKLCH L 37.1% C 0.058 H 265.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #313F5F |
|---|---|
| RGB | rgb(49, 63, 95) |
| HSL | hsl(222, 32%, 28%) |
| HSV | hsv(222, 48%, 37%) |
| CMYK | cmyk(48.4%, 33.7%, 0%, 62.7%) |
| CIE-LAB | lab(26.83, 4.08, -20.77) |
| CIE-LCH | lch(26.83, 21.16, 281.12°) |
| OKLab | oklab(37.06% -0.0045 -0.0582) |
| OKLCH | oklch(37.06% 0.058 265.6) |
| XYZ | xyz(5.1090, 5.0339, 11.5267) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.74
Marine Blue
#01386A
ΔE00 7.02
Marine
#042E60
ΔE00 7.52
Twilight Blue
#0A437A
ΔE00 7.73
Darkish Blue
#014182
ΔE00 8.31
Prussian Blue
#004577
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313F5F #5F5131
analogous
#31565F #313F5F #3A315F
triadic
#313F5F #5F313F #3F5F31
tetradic
#313F5F #5F3156 #5F5131 #315F3A
square
#313F5F #5F3156 #5F5131 #315F3A
split-complementary
#313F5F #5F3A31 #565F31
monochromatic
#0A0D14 #1C2437 #313F5F #465A87 #5E76AC
Accessibility & contrast
On white
10.46
#313F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#313F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313F5F
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313F5F | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334260
Deuteranopia (green-blind)
#2F3E5E
Tritanopia (blue-blind)
#20464A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #313f5f; /* rgb */ color: rgb(49, 63, 95); /* oklch */ color: oklch(37.1% 0.058 265.6);
Tailwind
colors: {
custom: {
50: '#6c738c',
500: '#313f5f',
950: '#000000',
},
}SCSS
$custom: #313f5f; $custom-light: #6c738c; $custom-dark: #000000;
JSON
{
"hex": "#313f5f",
"rgb": {
"r": 49,
"g": 63,
"b": 95
},
"hsl": {
"h": 221.739,
"s": 31.944,
"l": 28.235
},
"oklch": {
"l": 0.37057,
"c": 0.05838,
"h": 265.6
},
"luminance": 0.05034
}Semantic roles & 50–950 ramp
primary
#313F5F
secondary
#90805C
accent
#A860C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D