#15198F#15198F
#15198F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.184 H 268.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #15198F |
|---|---|
| RGB | rgb(21, 25, 143) |
| HSL | hsl(238, 74%, 32%) |
| HSV | hsv(238, 85%, 56%) |
| CMYK | cmyk(85.3%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(19.38, 42.21, -63.45) |
| CIE-LCH | lch(19.38, 76.21, 303.64°) |
| OKLab | oklab(32.32% -0.0038 -0.1838) |
| OKLCH | oklch(32.32% 0.184 268.8) |
| XYZ | xyz(5.6131, 2.8372, 26.2331) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.75
Cobalt Blue
#030AA7
ΔE00 3.77
Darkblue
#00008B
ΔE00 4.03
Royal Blue (survey)
#0504AA
ΔE00 4.36
Midnight Blue
#191970
ΔE00 4.77
Navy
#000080
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15198F #8F8B15
analogous
#15568F #15198F #4E158F
triadic
#15198F #8F1519 #198F15
tetradic
#15198F #8F1556 #8F8B15 #158F4E
square
#15198F #8F1556 #8F8B15 #158F4E
split-complementary
#15198F #8F4E15 #568F15
monochromatic
#050624 #0D105A #15198F #1D22C4 #3C41E2
Accessibility & contrast
On white
13.40
#15198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#15198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15198F
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15198F | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #15198f; /* rgb */ color: rgb(21, 25, 143); /* oklch */ color: oklch(32.3% 0.184 268.8);
Tailwind
colors: {
custom: {
50: '#6d59b1',
500: '#15198f',
950: '#000000',
},
}SCSS
$custom: #15198f; $custom-light: #6d59b1; $custom-dark: #000000;
JSON
{
"hex": "#15198f",
"rgb": {
"r": 21,
"g": 25,
"b": 143
},
"hsl": {
"h": 238.033,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.3232,
"c": 0.18382,
"h": 268.8
},
"luminance": 0.02838
}Semantic roles & 50–950 ramp
primary
#15198F
secondary
#C2BE3E
accent
#EB37F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980