#17188C#17188C
#17188C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.181 H 269.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #17188C |
|---|---|
| RGB | rgb(23, 24, 140) |
| HSL | hsl(239, 72%, 32%) |
| HSV | hsv(239, 84%, 55%) |
| CMYK | cmyk(83.6%, 82.9%, 0%, 45.1%) |
| CIE-LAB | lab(18.92, 41.84, -62.34) |
| CIE-LCH | lch(18.92, 75.08, 303.87°) |
| OKLab | oklab(31.92% -0.0009 -0.1805) |
| OKLCH | oklch(31.92% 0.181 269.7) |
| XYZ | xyz(5.4120, 2.7282, 25.0472) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.07
Darkblue
#00008B
ΔE00 3.81
Cobalt Blue
#030AA7
ΔE00 4.03
Midnight Blue
#191970
ΔE00 4.39
Navy
#000080
ΔE00 4.44
Royal Blue (survey)
#0504AA
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17188C #8C8B17
analogous
#17538C #17188C #51178C
triadic
#17188C #8C1718 #188C17
tetradic
#17188C #8C1753 #8C8B17 #178C51
square
#17188C #8C1753 #8C8B17 #178C51
split-complementary
#17188C #8C5117 #538C17
monochromatic
#060623 #0E0F57 #17188C #2021C1 #3E3FDF
Accessibility & contrast
On white
13.59
#17188C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#17188C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17188C
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17188C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17188C | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #17188c; /* rgb */ color: rgb(23, 24, 140); /* oklch */ color: oklch(31.9% 0.181 269.7);
Tailwind
colors: {
custom: {
50: '#6d58af',
500: '#17188c',
950: '#000000',
},
}SCSS
$custom: #17188c; $custom-light: #6d58af; $custom-dark: #000000;
JSON
{
"hex": "#17188c",
"rgb": {
"r": 23,
"g": 24,
"b": 140
},
"hsl": {
"h": 239.487,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.31918,
"c": 0.18051,
"h": 269.7
},
"luminance": 0.02729
}Semantic roles & 50–950 ramp
primary
#17188C
secondary
#BFBE3F
accent
#ED39EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880