#15168F#15168F
#15168F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 269.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #15168F |
|---|---|
| RGB | rgb(21, 22, 143) |
| HSL | hsl(240, 74%, 32%) |
| HSV | hsv(240, 85%, 56%) |
| CMYK | cmyk(85.3%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(18.87, 43.72, -64.30) |
| CIE-LCH | lch(18.87, 77.75, 304.21°) |
| OKLab | oklab(31.96% -0.0032 -0.1862) |
| OKLCH | oklch(31.96% 0.186 269) |
| XYZ | xyz(5.5524, 2.7157, 26.2128) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.70
Darkblue
#00008B
ΔE00 3.44
Cobalt Blue
#030AA7
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 4.02
Navy
#000080
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15168F #8F8E15
analogous
#15538F #15168F #51158F
triadic
#15168F #8F1516 #168F15
tetradic
#15168F #8F1553 #8F8E15 #158F51
square
#15168F #8F1553 #8F8E15 #158F51
split-complementary
#15168F #8F5115 #538F15
monochromatic
#050624 #0D0E5A #15168F #1D1EC4 #3C3DE2
Accessibility & contrast
On white
13.61
#15168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#15168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15168F
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15168F | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #15168f; /* rgb */ color: rgb(21, 22, 143); /* oklch */ color: oklch(32.0% 0.186 269.0);
Tailwind
colors: {
custom: {
50: '#6e57b1',
500: '#15168f',
950: '#000000',
},
}SCSS
$custom: #15168f; $custom-light: #6e57b1; $custom-dark: #000000;
JSON
{
"hex": "#15168f",
"rgb": {
"r": 21,
"g": 22,
"b": 143
},
"hsl": {
"h": 239.508,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.31964,
"c": 0.18621,
"h": 269
},
"luminance": 0.02716
}Semantic roles & 50–950 ramp
primary
#15168F
secondary
#C2C13E
accent
#EF37F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880