#15197B#15197B
#15197B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.159 H 270.0°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #15197B |
|---|---|
| RGB | rgb(21, 25, 123) |
| HSL | hsl(238, 71%, 28%) |
| HSV | hsv(238, 83%, 48%) |
| CMYK | cmyk(82.9%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(16.91, 35.33, -54.92) |
| CIE-LCH | lch(16.91, 65.31, 302.75°) |
| OKLab | oklab(29.88% 0.0001 -0.1591) |
| OKLCH | oklch(29.88% 0.159 270) |
| XYZ | xyz(4.2308, 2.2843, 18.9530) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.81
Royal
#0C1793
ΔE00 3.58
Dark Royal Blue
#02066F
ΔE00 4.16
Deep Blue
#040273
ΔE00 4.59
Navy
#000080
ΔE00 4.66
Darkblue
#00008B
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15197B #7B7715
analogous
#154C7B #15197B #44157B
triadic
#15197B #7B1519 #197B15
tetradic
#15197B #7B154C #7B7715 #157B44
square
#15197B #7B154C #7B7715 #157B44
split-complementary
#15197B #7B4415 #4C7B15
monochromatic
#04051A #0C0E47 #15197B #1E24AF #2F36DB
Accessibility & contrast
On white
14.41
#15197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#15197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15197B
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15197B | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #15197b; /* rgb */ color: rgb(21, 25, 123); /* oklch */ color: oklch(29.9% 0.159 270.0);
Tailwind
colors: {
custom: {
50: '#6857a2',
500: '#15197b',
950: '#000000',
},
}SCSS
$custom: #15197b; $custom-light: #6857a2; $custom-dark: #000000;
JSON
{
"hex": "#15197b",
"rgb": {
"r": 21,
"g": 25,
"b": 123
},
"hsl": {
"h": 237.647,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.29876,
"c": 0.15908,
"h": 270
},
"luminance": 0.02285
}Semantic roles & 50–950 ramp
primary
#15197B
secondary
#B0AC3B
accent
#E73AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F