#15197C#15197C
#15197C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.160 H 270.0°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #15197C |
|---|---|
| RGB | rgb(21, 25, 124) |
| HSL | hsl(238, 71%, 28%) |
| HSV | hsv(238, 83%, 49%) |
| CMYK | cmyk(83.1%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(17.03, 35.69, -55.36) |
| CIE-LCH | lch(17.03, 65.87, 302.81°) |
| OKLab | oklab(30% -0.0001 -0.1603) |
| OKLCH | oklch(30% 0.16 270) |
| XYZ | xyz(4.2937, 2.3094, 19.2843) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.97
Royal
#0C1793
ΔE00 3.42
Dark Royal Blue
#02066F
ΔE00 4.21
Deep Blue
#040273
ΔE00 4.60
Navy
#000080
ΔE00 4.61
Darkblue
#00008B
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15197C #7C7815
analogous
#154C7C #15197C #44157C
triadic
#15197C #7C1519 #197C15
tetradic
#15197C #7C154C #7C7815 #157C44
square
#15197C #7C154C #7C7815 #157C44
split-complementary
#15197C #7C4415 #4C7C15
monochromatic
#04051A #0C0E48 #15197C #1E24B0 #3036DC
Accessibility & contrast
On white
14.36
#15197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#15197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15197C
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15197C | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #15197c; /* rgb */ color: rgb(21, 25, 124); /* oklch */ color: oklch(30.0% 0.160 270.0);
Tailwind
colors: {
custom: {
50: '#6857a3',
500: '#15197c',
950: '#000000',
},
}SCSS
$custom: #15197c; $custom-light: #6857a3; $custom-dark: #000000;
JSON
{
"hex": "#15197c",
"rgb": {
"r": 21,
"g": 25,
"b": 124
},
"hsl": {
"h": 237.67,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.29996,
"c": 0.16035,
"h": 270
},
"luminance": 0.0231
}Semantic roles & 50–950 ramp
primary
#15197C
secondary
#B1AD3C
accent
#E73AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F