#13187F#13187F
#13187F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.166 H 269.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #13187F |
|---|---|
| RGB | rgb(19, 24, 127) |
| HSL | hsl(237, 74%, 29%) |
| HSV | hsv(237, 85%, 50%) |
| CMYK | cmyk(85%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(17.10, 37.19, -57.17) |
| CIE-LCH | lch(17.10, 68.20, 303.05°) |
| OKLab | oklab(30.12% -0.0025 -0.1656) |
| OKLCH | oklch(30.12% 0.166 269.1) |
| XYZ | xyz(4.4246, 2.3235, 20.2898) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.49
Royal
#0C1793
ΔE00 2.92
Dark Royal Blue
#02066F
ΔE00 4.17
Navy
#000080
ΔE00 4.26
Darkblue
#00008B
ΔE00 4.34
Deep Blue
#040273
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13187F #7F7A13
analogous
#134E7F #13187F #44137F
triadic
#13187F #7F1318 #187F13
tetradic
#13187F #7F134E #7F7A13 #137F44
square
#13187F #7F134E #7F7A13 #137F44
split-complementary
#13187F #7F4413 #4E7F13
monochromatic
#04051B #0B0E4A #13187F #1B22B4 #2D35E0
Accessibility & contrast
On white
14.34
#13187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#13187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13187F
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13187F | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #13187f; /* rgb */ color: rgb(19, 24, 127); /* oklch */ color: oklch(30.1% 0.166 269.1);
Tailwind
colors: {
custom: {
50: '#6857a5',
500: '#13187f',
950: '#000000',
},
}SCSS
$custom: #13187f; $custom-light: #6857a5; $custom-dark: #000000;
JSON
{
"hex": "#13187f",
"rgb": {
"r": 19,
"g": 24,
"b": 127
},
"hsl": {
"h": 237.222,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30122,
"c": 0.16562,
"h": 269.1
},
"luminance": 0.02324
}Semantic roles & 50–950 ramp
primary
#13187F
secondary
#B4AF39
accent
#E837F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F