#15177F#15177F
#15177F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.166 H 270.0°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #15177F |
|---|---|
| RGB | rgb(21, 23, 127) |
| HSL | hsl(239, 72%, 29%) |
| HSV | hsv(239, 83%, 50%) |
| CMYK | cmyk(83.5%, 81.9%, 0%, 50.2%) |
| CIE-LAB | lab(17.01, 37.87, -57.32) |
| CIE-LCH | lch(17.01, 68.70, 303.45°) |
| OKLab | oklab(30.09% -0.0001 -0.166) |
| OKLCH | oklch(30.09% 0.166 270) |
| XYZ | xyz(4.4451, 2.3040, 20.2850) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.55
Royal
#0C1793
ΔE00 2.88
Dark Royal Blue
#02066F
ΔE00 4.01
Navy
#000080
ΔE00 4.03
Darkblue
#00008B
ΔE00 4.12
Deep Blue
#040273
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15177F #7F7D15
analogous
#154C7F #15177F #48157F
triadic
#15177F #7F1517 #177F15
tetradic
#15177F #7F154C #7F7D15 #157F48
square
#15177F #7F154C #7F7D15 #157F48
split-complementary
#15177F #7F4815 #4C7F15
monochromatic
#04051A #0C0D4A #15177F #1E21B4 #3135DD
Accessibility & contrast
On white
14.37
#15177F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#15177F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15177F
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15177F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15177F | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #15177f; /* rgb */ color: rgb(21, 23, 127); /* oklch */ color: oklch(30.1% 0.166 270.0);
Tailwind
colors: {
custom: {
50: '#6956a5',
500: '#15177f',
950: '#000000',
},
}SCSS
$custom: #15177f; $custom-light: #6956a5; $custom-dark: #000000;
JSON
{
"hex": "#15177f",
"rgb": {
"r": 21,
"g": 23,
"b": 127
},
"hsl": {
"h": 238.868,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.30085,
"c": 0.16599,
"h": 270
},
"luminance": 0.02305
}Semantic roles & 50–950 ramp
primary
#15177F
secondary
#B4B23C
accent
#EB39EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F