#15177E#15177E
#15177E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.165 H 270.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #15177E |
|---|---|
| RGB | rgb(21, 23, 126) |
| HSL | hsl(239, 71%, 29%) |
| HSV | hsv(239, 83%, 49%) |
| CMYK | cmyk(83.3%, 81.7%, 0%, 50.6%) |
| CIE-LAB | lab(16.88, 37.52, -56.89) |
| CIE-LCH | lch(16.88, 68.15, 303.41°) |
| OKLab | oklab(29.96% 0.0001 -0.1647) |
| OKLCH | oklch(29.96% 0.165 270) |
| XYZ | xyz(4.3803, 2.2781, 19.9435) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Royal
#0C1793
ΔE00 3.04
Dark Royal Blue
#02066F
ΔE00 3.93
Navy
#000080
ΔE00 4.06
Darkblue
#00008B
ΔE00 4.20
Deep Blue
#040273
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15177E #7E7C15
analogous
#154C7E #15177E #48157E
triadic
#15177E #7E1517 #177E15
tetradic
#15177E #7E154C #7E7C15 #157E48
square
#15177E #7E154C #7E7C15 #157E48
split-complementary
#15177E #7E4815 #4C7E15
monochromatic
#04051A #0C0D4A #15177E #1E21B2 #3134DD
Accessibility & contrast
On white
14.43
#15177E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#15177E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15177E
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15177E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15177E | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #15177e; /* rgb */ color: rgb(21, 23, 126); /* oklch */ color: oklch(30.0% 0.165 270.0);
Tailwind
colors: {
custom: {
50: '#6956a5',
500: '#15177e',
950: '#000000',
},
}SCSS
$custom: #15177e; $custom-light: #6956a5; $custom-dark: #000000;
JSON
{
"hex": "#15177e",
"rgb": {
"r": 21,
"g": 23,
"b": 126
},
"hsl": {
"h": 238.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.29962,
"c": 0.16474,
"h": 270
},
"luminance": 0.02279
}Semantic roles & 50–950 ramp
primary
#15177E
secondary
#B3B13C
accent
#EB3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F