#13187E#13187E
#13187E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.164 H 269.2°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #13187E |
|---|---|
| RGB | rgb(19, 24, 126) |
| HSL | hsl(237, 74%, 28%) |
| HSV | hsv(237, 85%, 49%) |
| CMYK | cmyk(84.9%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(16.98, 36.84, -56.73) |
| CIE-LCH | lch(16.98, 67.65, 303.00°) |
| OKLab | oklab(30% -0.0023 -0.1643) |
| OKLCH | oklch(30% 0.164 269.2) |
| XYZ | xyz(4.3598, 2.2976, 19.9483) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.34
Royal
#0C1793
ΔE00 3.07
Dark Royal Blue
#02066F
ΔE00 4.10
Navy
#000080
ΔE00 4.29
Deep Blue
#040273
ΔE00 4.42
Darkblue
#00008B
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13187E #7E7913
analogous
#134D7E #13187E #43137E
triadic
#13187E #7E1318 #187E13
tetradic
#13187E #7E134D #7E7913 #137E43
square
#13187E #7E134D #7E7913 #137E43
split-complementary
#13187E #7E4313 #4D7E13
monochromatic
#04051B #0B0E49 #13187E #1B22B3 #2C35DF
Accessibility & contrast
On white
14.39
#13187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#13187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13187E
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13187E | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #13187e; /* rgb */ color: rgb(19, 24, 126); /* oklch */ color: oklch(30.0% 0.164 269.2);
Tailwind
colors: {
custom: {
50: '#6857a5',
500: '#13187e',
950: '#000000',
},
}SCSS
$custom: #13187e; $custom-light: #6857a5; $custom-dark: #000000;
JSON
{
"hex": "#13187e",
"rgb": {
"r": 19,
"g": 24,
"b": 126
},
"hsl": {
"h": 237.196,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.3,
"c": 0.16437,
"h": 269.2
},
"luminance": 0.02298
}Semantic roles & 50–950 ramp
primary
#13187E
secondary
#B4AE39
accent
#E837F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F