#17126F#17126F
#17126F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.150 H 272.9°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).
Color values
| HEX | #17126F |
|---|---|
| RGB | rgb(23, 18, 111) |
| HSL | hsl(243, 72%, 25%) |
| HSV | hsv(243, 84%, 44%) |
| CMYK | cmyk(79.3%, 83.8%, 0%, 56.5%) |
| CIE-LAB | lab(14.19, 35.25, -51.69) |
| CIE-LCH | lch(14.19, 62.57, 304.29°) |
| OKLab | oklab(27.57% 0.0076 -0.1496) |
| OKLCH | oklch(27.57% 0.15 272.9) |
| XYZ | xyz(3.4379, 1.7621, 15.1948) |
| Luminance | 0.0176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.72
Dark Royal Blue
#02066F
ΔE00 2.55
Darkblue (survey)
#030764
ΔE00 2.87
Deep Blue
#040273
ΔE00 3.22
Navy
#000080
ΔE00 4.19
Dark Blue
#00035B
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17126F #6A6F12
analogous
#123B6F #17126F #45126F
triadic
#17126F #6F1712 #126F17
tetradic
#17126F #6F123B #6A6F12 #126F45
square
#17126F #6F123B #6A6F12 #126F45
split-complementary
#17126F #6F4512 #3B6F12
monochromatic
#05041A #0C093A #17126F #221BA4 #2D23D8
Accessibility & contrast
On white
15.53
#17126F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#17126F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17126F
15.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17126F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17126F | 1.00 | 15.53 | 1.35 | 15.53 |
| #FFFFFF | 15.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#001F6D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #17126f; /* rgb */ color: rgb(23, 18, 111); /* oklch */ color: oklch(27.6% 0.150 272.9);
Tailwind
colors: {
custom: {
50: '#665299',
500: '#17126f',
950: '#000000',
},
}SCSS
$custom: #17126f; $custom-light: #665299; $custom-dark: #000000;
JSON
{
"hex": "#17126f",
"rgb": {
"r": 23,
"g": 18,
"b": 111
},
"hsl": {
"h": 243.226,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.27565,
"c": 0.14976,
"h": 272.9
},
"luminance": 0.01762
}Semantic roles & 50–950 ramp
primary
#17126F
secondary
#A0A637
accent
#EF39E5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E