#313E60#313E60
#313E60 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.061 H 267.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #313E60 |
|---|---|
| RGB | rgb(49, 62, 96) |
| HSL | hsl(223, 32%, 28%) |
| HSV | hsv(223, 49%, 38%) |
| CMYK | cmyk(49%, 35.4%, 0%, 62.4%) |
| CIE-LAB | lab(26.57, 5.10, -21.82) |
| CIE-LCH | lch(26.57, 22.41, 283.14°) |
| OKLab | oklab(36.87% -0.0027 -0.0613) |
| OKLCH | oklch(36.87% 0.061 267.4) |
| XYZ | xyz(5.0999, 4.9424, 11.7493) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.49
Marine Blue
#01386A
ΔE00 7.06
Marine
#042E60
ΔE00 7.30
Twilight Blue
#0A437A
ΔE00 7.91
Darkish Blue
#014182
ΔE00 8.39
Dusk
#4E5481
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313E60 #605331
analogous
#315560 #313E60 #3B3160
triadic
#313E60 #60313E #3E6031
tetradic
#313E60 #603155 #605331 #31603B
square
#313E60 #603155 #605331 #31603B
split-complementary
#313E60 #603B31 #556031
monochromatic
#0A0D14 #1C2437 #313E60 #465889 #5E74AD
Accessibility & contrast
On white
10.56
#313E60 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#313E60 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313E60
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313E60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313E60 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#2D3D5F
Tritanopia (blue-blind)
#1F454A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #313e60; /* rgb */ color: rgb(49, 62, 96); /* oklch */ color: oklch(36.9% 0.061 267.4);
Tailwind
colors: {
custom: {
50: '#6c738d',
500: '#313e60',
950: '#000000',
},
}SCSS
$custom: #313e60; $custom-light: #6c738d; $custom-dark: #000000;
JSON
{
"hex": "#313e60",
"rgb": {
"r": 49,
"g": 62,
"b": 96
},
"hsl": {
"h": 223.404,
"s": 32.414,
"l": 28.431
},
"oklch": {
"l": 0.36872,
"c": 0.06133,
"h": 267.4
},
"luminance": 0.04943
}Semantic roles & 50–950 ramp
primary
#313E60
secondary
#91825C
accent
#AB5FC9
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07080C
muted
#7A7B7D