#17187C#17187C
#17187C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.161 H 270.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #17187C |
|---|---|
| RGB | rgb(23, 24, 124) |
| HSL | hsl(239, 69%, 29%) |
| HSV | hsv(239, 81%, 49%) |
| CMYK | cmyk(81.5%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(16.94, 36.40, -55.51) |
| CIE-LCH | lch(16.94, 66.38, 303.26°) |
| OKLab | oklab(29.96% 0.0025 -0.1607) |
| OKLCH | oklch(29.96% 0.161 270.9) |
| XYZ | xyz(4.3168, 2.2902, 19.2794) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.02
Royal
#0C1793
ΔE00 3.38
Dark Royal Blue
#02066F
ΔE00 4.02
Deep Blue
#040273
ΔE00 4.37
Navy
#000080
ΔE00 4.37
Darkblue
#00008B
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17187C #7C7B17
analogous
#174B7C #17187C #49177C
triadic
#17187C #7C1718 #187C17
tetradic
#17187C #7C174B #7C7B17 #177C49
square
#17187C #7C174B #7C7B17 #177C49
split-complementary
#17187C #7C4917 #4B7C17
monochromatic
#05051A #0D0E48 #17187C #2122B0 #3436D9
Accessibility & contrast
On white
14.40
#17187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#17187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17187C
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17187C | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #17187c; /* rgb */ color: rgb(23, 24, 124); /* oklch */ color: oklch(30.0% 0.161 270.9);
Tailwind
colors: {
custom: {
50: '#6957a3',
500: '#17187c',
950: '#000000',
},
}SCSS
$custom: #17187c; $custom-light: #6957a3; $custom-dark: #000000;
JSON
{
"hex": "#17187c",
"rgb": {
"r": 23,
"g": 24,
"b": 124
},
"hsl": {
"h": 239.406,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.29961,
"c": 0.16076,
"h": 270.9
},
"luminance": 0.02291
}Semantic roles & 50–950 ramp
primary
#17187C
secondary
#B1B03E
accent
#EA3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F