#17128F#17128F
#17128F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.189 H 269.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #17128F |
|---|---|
| RGB | rgb(23, 18, 143) |
| HSL | hsl(242, 78%, 32%) |
| HSV | hsv(242, 87%, 56%) |
| CMYK | cmyk(83.9%, 87.4%, 0%, 43.9%) |
| CIE-LAB | lab(18.35, 45.62, -65.15) |
| CIE-LCH | lch(18.35, 79.54, 305.00°) |
| OKLab | oklab(31.64% -0.0005 -0.1885) |
| OKLCH | oklch(31.64% 0.189 269.9) |
| XYZ | xyz(5.5259, 2.5973, 26.1914) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.23
Darkblue
#00008B
ΔE00 2.79
Cobalt Blue
#030AA7
ΔE00 3.22
Royal Blue (survey)
#0504AA
ΔE00 3.71
Navy
#000080
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17128F #8A8F12
analogous
#124C8F #17128F #56128F
triadic
#17128F #8F1712 #128F17
tetradic
#17128F #8F124C #8A8F12 #128F56
square
#17128F #8F124C #8A8F12 #128F56
split-complementary
#17128F #8F5612 #4C8F12
monochromatic
#060422 #0E0B59 #17128F #2019C5 #3D36E6
Accessibility & contrast
On white
13.82
#17128F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#17128F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17128F
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17128F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17128F | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00268D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #17128f; /* rgb */ color: rgb(23, 18, 143); /* oklch */ color: oklch(31.6% 0.189 269.9);
Tailwind
colors: {
custom: {
50: '#6e55b1',
500: '#17128f',
950: '#000000',
},
}SCSS
$custom: #17128f; $custom-light: #6e55b1; $custom-dark: #000000;
JSON
{
"hex": "#17128f",
"rgb": {
"r": 23,
"g": 18,
"b": 143
},
"hsl": {
"h": 242.4,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.31636,
"c": 0.18852,
"h": 269.9
},
"luminance": 0.02598
}Semantic roles & 50–950 ramp
primary
#17128F
secondary
#BEC33A
accent
#F434EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880