#17137F#17137F
#17137F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.169 H 271.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #17137F |
|---|---|
| RGB | rgb(23, 19, 127) |
| HSL | hsl(242, 74%, 29%) |
| HSV | hsv(242, 85%, 50%) |
| CMYK | cmyk(81.9%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(16.40, 40.08, -58.32) |
| CIE-LCH | lch(16.40, 70.76, 304.50°) |
| OKLab | oklab(29.69% 0.0032 -0.1688) |
| OKLCH | oklch(29.69% 0.169 271.1) |
| XYZ | xyz(4.4157, 2.1797, 20.2626) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.96
Midnight Blue
#191970
ΔE00 2.99
Navy
#000080
ΔE00 3.21
Darkblue
#00008B
ΔE00 3.37
Dark Royal Blue
#02066F
ΔE00 3.45
Deep Blue
#040273
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17137F #7B7F13
analogous
#13457F #17137F #4D137F
triadic
#17137F #7F1713 #137F17
tetradic
#17137F #7F1345 #7B7F13 #137F4D
square
#17137F #7F1345 #7B7F13 #137F4D
split-complementary
#17137F #7F4D13 #457F13
monochromatic
#05041B #0D0B4A #17137F #211BB4 #332DE0
Accessibility & contrast
On white
14.62
#17137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#17137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17137F
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17137F | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #17137f; /* rgb */ color: rgb(23, 19, 127); /* oklch */ color: oklch(29.7% 0.169 271.1);
Tailwind
colors: {
custom: {
50: '#6a54a5',
500: '#17137f',
950: '#000000',
},
}SCSS
$custom: #17137f; $custom-light: #6a54a5; $custom-dark: #000000;
JSON
{
"hex": "#17137f",
"rgb": {
"r": 23,
"g": 19,
"b": 127
},
"hsl": {
"h": 242.222,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.29694,
"c": 0.16881,
"h": 271.1
},
"luminance": 0.0218
}Semantic roles & 50–950 ramp
primary
#17137F
secondary
#B0B439
accent
#F137EA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F