#15187B#15187B
#15187B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.160 H 270.1°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #15187B |
|---|---|
| RGB | rgb(21, 24, 123) |
| HSL | hsl(238, 71%, 28%) |
| HSV | hsv(238, 83%, 48%) |
| CMYK | cmyk(82.9%, 80.5%, 0%, 51.8%) |
| CIE-LAB | lab(16.71, 35.91, -55.26) |
| CIE-LCH | lch(16.71, 65.90, 303.02°) |
| OKLab | oklab(29.73% 0.0004 -0.16) |
| OKLCH | oklch(29.73% 0.16 270.1) |
| XYZ | xyz(4.2098, 2.2423, 18.9460) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.87
Royal
#0C1793
ΔE00 3.53
Dark Royal Blue
#02066F
ΔE00 3.95
Deep Blue
#040273
ΔE00 4.35
Navy
#000080
ΔE00 4.42
Darkblue
#00008B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15187B #7B7815
analogous
#154B7B #15187B #45157B
triadic
#15187B #7B1518 #187B15
tetradic
#15187B #7B154B #7B7815 #157B45
square
#15187B #7B154B #7B7815 #157B45
split-complementary
#15187B #7B4515 #4B7B15
monochromatic
#04051A #0C0E47 #15187B #1E22AF #2F34DB
Accessibility & contrast
On white
14.50
#15187B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#15187B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15187B
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15187B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15187B | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #15187b; /* rgb */ color: rgb(21, 24, 123); /* oklch */ color: oklch(29.7% 0.160 270.1);
Tailwind
colors: {
custom: {
50: '#6857a2',
500: '#15187b',
950: '#000000',
},
}SCSS
$custom: #15187b; $custom-light: #6857a2; $custom-dark: #000000;
JSON
{
"hex": "#15187b",
"rgb": {
"r": 21,
"g": 24,
"b": 123
},
"hsl": {
"h": 238.235,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.29733,
"c": 0.16004,
"h": 270.1
},
"luminance": 0.02243
}Semantic roles & 50–950 ramp
primary
#15187B
secondary
#B0AD3B
accent
#E83AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F