#13315F#13315F
#13315F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.089 H 258.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #13315F |
|---|---|
| RGB | rgb(19, 49, 95) |
| HSL | hsl(216, 67%, 22%) |
| HSV | hsv(216, 80%, 37%) |
| CMYK | cmyk(80%, 48.4%, 0%, 62.7%) |
| CIE-LAB | lab(20.68, 7.17, -30.62) |
| CIE-LCH | lch(20.68, 31.45, 283.17°) |
| OKLab | oklab(31.84% -0.0173 -0.0878) |
| OKLCH | oklch(31.84% 0.089 258.9) |
| XYZ | xyz(3.4317, 3.1609, 11.2535) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.40
Marine Blue
#01386A
ΔE00 3.58
Navy Blue
#1B2A4A
ΔE00 4.69
Darkish Blue
#014182
ΔE00 6.78
Twilight Blue
#0A437A
ΔE00 6.85
Prussian Blue
#004577
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13315F #5F4113
analogous
#13575F #13315F #1B135F
triadic
#13315F #5F1331 #315F13
tetradic
#13315F #5F1357 #5F4113 #135F1B
square
#13315F #5F1357 #5F4113 #135F1B
split-complementary
#13315F #5F1B13 #575F13
monochromatic
#050D1A #09172C #13315F #1D4B92 #2766C5
Accessibility & contrast
On white
12.87
#13315F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#13315F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13315F
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13315F | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193661
Deuteranopia (green-blind)
#092F5E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #13315f; /* rgb */ color: rgb(19, 49, 95); /* oklch */ color: oklch(31.8% 0.089 258.9);
Tailwind
colors: {
custom: {
50: '#5d688d',
500: '#13315f',
950: '#000000',
},
}SCSS
$custom: #13315f; $custom-light: #5d688d; $custom-dark: #000000;
JSON
{
"hex": "#13315f",
"rgb": {
"r": 19,
"g": 49,
"b": 95
},
"hsl": {
"h": 216.316,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.31836,
"c": 0.08944,
"h": 258.9
},
"luminance": 0.03161
}Semantic roles & 50–950 ramp
primary
#13315F
secondary
#977137
accent
#A63EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D