#15197F#15197F
#15197F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.164 H 269.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #15197F |
|---|---|
| RGB | rgb(21, 25, 127) |
| HSL | hsl(238, 72%, 29%) |
| HSV | hsv(238, 83%, 50%) |
| CMYK | cmyk(83.5%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.40, 36.74, -56.67) |
| CIE-LCH | lch(17.40, 67.54, 302.96°) |
| OKLab | oklab(30.36% -0.0007 -0.1641) |
| OKLCH | oklch(30.36% 0.164 269.8) |
| XYZ | xyz(4.4863, 2.3865, 20.2987) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Royal
#0C1793
ΔE00 2.96
Dark Royal Blue
#02066F
ΔE00 4.37
Navy
#000080
ΔE00 4.50
Darkblue
#00008B
ΔE00 4.56
Deep Blue
#040273
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15197F #7F7B15
analogous
#154E7F #15197F #46157F
triadic
#15197F #7F1519 #197F15
tetradic
#15197F #7F154E #7F7B15 #157F46
square
#15197F #7F154E #7F7B15 #157F46
split-complementary
#15197F #7F4615 #4E7F15
monochromatic
#04051A #0C0F4A #15197F #1E23B4 #3138DD
Accessibility & contrast
On white
14.21
#15197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#15197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15197F
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15197F | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #15197f; /* rgb */ color: rgb(21, 25, 127); /* oklch */ color: oklch(30.4% 0.164 269.8);
Tailwind
colors: {
custom: {
50: '#6957a5',
500: '#15197f',
950: '#000000',
},
}SCSS
$custom: #15197f; $custom-light: #6957a5; $custom-dark: #000000;
JSON
{
"hex": "#15197f",
"rgb": {
"r": 21,
"g": 25,
"b": 127
},
"hsl": {
"h": 237.736,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.30358,
"c": 0.16415,
"h": 269.8
},
"luminance": 0.02387
}Semantic roles & 50–950 ramp
primary
#15197F
secondary
#B4AF3C
accent
#E839EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F