#17127F#17127F
#17127F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.170 H 271.2°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).
Color values
| HEX | #17127F |
|---|---|
| RGB | rgb(23, 18, 127) |
| HSL | hsl(243, 75%, 28%) |
| HSV | hsv(243, 86%, 50%) |
| CMYK | cmyk(81.9%, 85.8%, 0%, 50.2%) |
| CIE-LAB | lab(16.24, 40.56, -58.59) |
| CIE-LCH | lch(16.24, 71.26, 304.69°) |
| OKLab | oklab(29.58% 0.0035 -0.1695) |
| OKLCH | oklch(29.58% 0.17 271.2) |
| XYZ | xyz(4.3991, 2.1466, 20.2570) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.01
Navy
#000080
ΔE00 3.03
Midnight Blue
#191970
ΔE00 3.12
Darkblue
#00008B
ΔE00 3.21
Dark Royal Blue
#02066F
ΔE00 3.33
Deep Blue
#040273
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17127F #7A7F12
analogous
#12437F #17127F #4D127F
triadic
#17127F #7F1712 #127F17
tetradic
#17127F #7F1243 #7A7F12 #127F4D
square
#17127F #7F1243 #7A7F12 #127F4D
split-complementary
#17127F #7F4D12 #437F12
monochromatic
#05041B #0D0A49 #17127F #211AB5 #332BE1
Accessibility & contrast
On white
14.69
#17127F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#17127F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17127F
14.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17127F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17127F | 1.00 | 14.69 | 1.43 | 14.69 |
| #FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #17127f; /* rgb */ color: rgb(23, 18, 127); /* oklch */ color: oklch(29.6% 0.170 271.2);
Tailwind
colors: {
custom: {
50: '#6a54a5',
500: '#17127f',
950: '#000000',
},
}SCSS
$custom: #17127f; $custom-light: #6a54a5; $custom-dark: #000000;
JSON
{
"hex": "#17127f",
"rgb": {
"r": 23,
"g": 18,
"b": 127
},
"hsl": {
"h": 242.752,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.2958,
"c": 0.16959,
"h": 271.2
},
"luminance": 0.02147
}Semantic roles & 50–950 ramp
primary
#17127F
secondary
#AFB538
accent
#F236E9
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F