#17187F#17187F
#17187F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.165 H 270.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #17187F |
|---|---|
| RGB | rgb(23, 24, 127) |
| HSL | hsl(239, 69%, 29%) |
| HSV | hsv(239, 82%, 50%) |
| CMYK | cmyk(81.9%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(17.31, 37.44, -56.82) |
| CIE-LCH | lch(17.31, 68.05, 303.38°) |
| OKLab | oklab(30.32% 0.0018 -0.1645) |
| OKLCH | oklch(30.32% 0.165 270.6) |
| XYZ | xyz(4.5094, 2.3672, 20.2938) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.48
Royal
#0C1793
ΔE00 2.92
Dark Royal Blue
#02066F
ΔE00 4.21
Navy
#000080
ΔE00 4.26
Darkblue
#00008B
ΔE00 4.33
Deep Blue
#040273
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17187F #7F7E17
analogous
#174C7F #17187F #4A177F
triadic
#17187F #7F1718 #187F17
tetradic
#17187F #7F174C #7F7E17 #177F4A
square
#17187F #7F174C #7F7E17 #177F4A
split-complementary
#17187F #7F4A17 #4C7F17
monochromatic
#05051A #0E0E4B #17187F #2022B3 #3637DB
Accessibility & contrast
On white
14.25
#17187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#17187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17187F
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17187F | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #17187f; /* rgb */ color: rgb(23, 24, 127); /* oklch */ color: oklch(30.3% 0.165 270.6);
Tailwind
colors: {
custom: {
50: '#6957a5',
500: '#17187f',
950: '#000000',
},
}SCSS
$custom: #17187f; $custom-light: #6957a5; $custom-dark: #000000;
JSON
{
"hex": "#17187f",
"rgb": {
"r": 23,
"g": 24,
"b": 127
},
"hsl": {
"h": 239.423,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.30324,
"c": 0.16453,
"h": 270.6
},
"luminance": 0.02368
}Semantic roles & 50–950 ramp
primary
#17187F
secondary
#B4B23E
accent
#EA3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F