#15187C#15187C
#15187C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.161 H 270.1°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #15187C |
|---|---|
| RGB | rgb(21, 24, 124) |
| HSL | hsl(238, 71%, 28%) |
| HSV | hsv(238, 83%, 49%) |
| CMYK | cmyk(83.1%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(16.83, 36.27, -55.70) |
| CIE-LCH | lch(16.83, 66.46, 303.07°) |
| OKLab | oklab(29.85% 0.0002 -0.1613) |
| OKLCH | oklch(29.85% 0.161 270.1) |
| XYZ | xyz(4.2727, 2.2674, 19.2773) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.03
Royal
#0C1793
ΔE00 3.37
Dark Royal Blue
#02066F
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.37
Navy
#000080
ΔE00 4.37
Darkblue
#00008B
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15187C #7C7915
analogous
#154B7C #15187C #45157C
triadic
#15187C #7C1518 #187C15
tetradic
#15187C #7C154B #7C7915 #157C45
square
#15187C #7C154B #7C7915 #157C45
split-complementary
#15187C #7C4515 #4B7C15
monochromatic
#04051A #0C0E48 #15187C #1E22B0 #3035DC
Accessibility & contrast
On white
14.45
#15187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#15187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15187C
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15187C | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #15187c; /* rgb */ color: rgb(21, 24, 124); /* oklch */ color: oklch(29.9% 0.161 270.1);
Tailwind
colors: {
custom: {
50: '#6857a3',
500: '#15187c',
950: '#000000',
},
}SCSS
$custom: #15187c; $custom-light: #6857a3; $custom-dark: #000000;
JSON
{
"hex": "#15187c",
"rgb": {
"r": 21,
"g": 24,
"b": 124
},
"hsl": {
"h": 238.252,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.29854,
"c": 0.16131,
"h": 270.1
},
"luminance": 0.02268
}Semantic roles & 50–950 ramp
primary
#15187C
secondary
#B1AE3C
accent
#E93AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F