#15187F#15187F
#15187F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.165 H 269.9°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #15187F |
|---|---|
| RGB | rgb(21, 24, 127) |
| HSL | hsl(238, 72%, 29%) |
| HSV | hsv(238, 83%, 50%) |
| CMYK | cmyk(83.5%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(17.20, 37.31, -57.00) |
| CIE-LCH | lch(17.20, 68.12, 303.21°) |
| OKLab | oklab(30.22% -0.0004 -0.1651) |
| OKLCH | oklch(30.22% 0.165 269.9) |
| XYZ | xyz(4.4654, 2.3445, 20.2917) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.48
Royal
#0C1793
ΔE00 2.91
Dark Royal Blue
#02066F
ΔE00 4.18
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
#15187F #7F7C15
analogous
#154D7F #15187F #47157F
triadic
#15187F #7F1518 #187F15
tetradic
#15187F #7F154D #7F7C15 #157F47
square
#15187F #7F154D #7F7C15 #157F47
split-complementary
#15187F #7F4715 #4D7F15
monochromatic
#04051A #0C0E4A #15187F #1E22B4 #3136DD
Accessibility & contrast
On white
14.30
#15187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#15187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15187F
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15187F | 1.00 | 14.30 | 1.47 | 14.30 |
| #FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #15187f; /* rgb */ color: rgb(21, 24, 127); /* oklch */ color: oklch(30.2% 0.165 269.9);
Tailwind
colors: {
custom: {
50: '#6957a5',
500: '#15187f',
950: '#000000',
},
}SCSS
$custom: #15187f; $custom-light: #6957a5; $custom-dark: #000000;
JSON
{
"hex": "#15187f",
"rgb": {
"r": 21,
"g": 24,
"b": 127
},
"hsl": {
"h": 238.302,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.3022,
"c": 0.16508,
"h": 269.9
},
"luminance": 0.02345
}Semantic roles & 50–950 ramp
primary
#15187F
secondary
#B4B13C
accent
#E939EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F