#313E63#313E63
#313E63 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.0% C 0.066 H 268.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #313E63 |
|---|---|
| RGB | rgb(49, 62, 99) |
| HSL | hsl(224, 34%, 29%) |
| HSV | hsv(224, 51%, 39%) |
| CMYK | cmyk(50.5%, 37.4%, 0%, 61.2%) |
| CIE-LAB | lab(26.73, 6.12, -23.50) |
| CIE-LCH | lch(26.73, 24.29, 284.59°) |
| OKLab | oklab(37.05% -0.0019 -0.0662) |
| OKLCH | oklch(37.05% 0.066 268.4) |
| XYZ | xyz(5.2407, 4.9988, 12.4907) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.67
Marine Blue
#01386A
ΔE00 6.87
Marine
#042E60
ΔE00 7.07
Twilight Blue
#0A437A
ΔE00 7.66
Darkish Blue
#014182
ΔE00 8.03
Dusk
#4E5481
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313E63 #635631
analogous
#315763 #313E63 #3D3163
triadic
#313E63 #63313E #3E6331
tetradic
#313E63 #633157 #635631 #31633D
square
#313E63 #633157 #635631 #31633D
split-complementary
#313E63 #633D31 #576331
monochromatic
#0A0D14 #1D243A #313E63 #45588C #5F74B0
Accessibility & contrast
On white
10.50
#313E63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#313E63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313E63
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313E63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313E63 | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304265
Deuteranopia (green-blind)
#2B3D62
Tritanopia (blue-blind)
#1D464C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #313e63; /* rgb */ color: rgb(49, 62, 99); /* oklch */ color: oklch(37.0% 0.066 268.4);
Tailwind
colors: {
custom: {
50: '#6c738f',
500: '#313e63',
950: '#000000',
},
}SCSS
$custom: #313e63; $custom-light: #6c738f; $custom-dark: #000000;
JSON
{
"hex": "#313e63",
"rgb": {
"r": 49,
"g": 62,
"b": 99
},
"hsl": {
"h": 224.4,
"s": 33.784,
"l": 29.02
},
"oklch": {
"l": 0.37049,
"c": 0.06619,
"h": 268.4
},
"luminance": 0.04999
}Semantic roles & 50–950 ramp
primary
#313E63
secondary
#94865C
accent
#AE5ECA
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07080C
muted
#7A7B7D