#13157E#13157E
#13157E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.167 H 269.4°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #13157E |
|---|---|
| RGB | rgb(19, 21, 126) |
| HSL | hsl(239, 74%, 28%) |
| HSV | hsv(239, 85%, 49%) |
| CMYK | cmyk(84.9%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.41, 38.49, -57.68) |
| CIE-LCH | lch(16.41, 69.34, 303.72°) |
| OKLab | oklab(29.6% -0.0016 -0.167) |
| OKLCH | oklch(29.6% 0.167 269.4) |
| XYZ | xyz(4.3013, 2.1806, 19.9288) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Royal
#0C1793
ΔE00 3.03
Dark Royal Blue
#02066F
ΔE00 3.57
Navy
#000080
ΔE00 3.61
Deep Blue
#040273
ΔE00 3.79
Darkblue
#00008B
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13157E #7E7C13
analogous
#134A7E #13157E #46137E
triadic
#13157E #7E1315 #157E13
tetradic
#13157E #7E134A #7E7C13 #137E46
square
#13157E #7E134A #7E7C13 #137E46
split-complementary
#13157E #7E4613 #4A7E13
monochromatic
#04041B #0B0C49 #13157E #1B1EB3 #2C30DF
Accessibility & contrast
On white
14.62
#13157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#13157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13157E
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13157E | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #13157e; /* rgb */ color: rgb(19, 21, 126); /* oklch */ color: oklch(29.6% 0.167 269.4);
Tailwind
colors: {
custom: {
50: '#6855a5',
500: '#13157e',
950: '#000000',
},
}SCSS
$custom: #13157e; $custom-light: #6855a5; $custom-dark: #000000;
JSON
{
"hex": "#13157e",
"rgb": {
"r": 19,
"g": 21,
"b": 126
},
"hsl": {
"h": 238.879,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.29601,
"c": 0.16705,
"h": 269.4
},
"luminance": 0.02181
}Semantic roles & 50–950 ramp
primary
#13157E
secondary
#B4B139
accent
#ED37F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F