#170F5C#170F5C
#170F5C is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.128 H 276.3°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).
Color values
| HEX | #170F5C |
|---|---|
| RGB | rgb(23, 15, 92) |
| HSL | hsl(246, 72%, 21%) |
| HSV | hsv(246, 84%, 36%) |
| CMYK | cmyk(75%, 83.7%, 0%, 63.9%) |
| CIE-LAB | lab(11.25, 30.35, -43.98) |
| CIE-LCH | lch(11.25, 53.44, 304.61°) |
| OKLab | oklab(24.83% 0.014 -0.1271) |
| OKLCH | oklch(24.83% 0.128 276.3) |
| XYZ | xyz(2.4553, 1.2963, 10.2440) |
| Luminance | 0.0130 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.45
Darkblue (survey)
#030764
ΔE00 2.83
Dark Blue
#00035B
ΔE00 3.15
Midnight Blue
#191970
ΔE00 3.78
Night Blue
#040348
ΔE00 4.04
Dark Royal Blue
#02066F
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#170F5C #545C0F
analogous
#0F2D5C #170F5C #3D0F5C
triadic
#170F5C #5C170F #0F5C17
tetradic
#170F5C #5C0F2D #545C0F #0F5C3D
square
#170F5C #5C0F2D #545C0F #0F5C3D
split-complementary
#170F5C #5C3D0F #2D5C0F
monochromatic
#07041A #0A0627 #170F5C #241891 #3120C5
Accessibility & contrast
On white
16.67
#170F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#170F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #170F5C
16.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##170F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##170F5C | 1.00 | 16.67 | 1.26 | 16.67 |
| #FFFFFF | 16.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00215E
Deuteranopia (green-blind)
#001B5B
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #170f5c; /* rgb */ color: rgb(23, 15, 92); /* oklch */ color: oklch(24.8% 0.128 276.3);
Tailwind
colors: {
custom: {
50: '#614f8b',
500: '#170f5c',
950: '#000000',
},
}SCSS
$custom: #170f5c; $custom-light: #614f8b; $custom-dark: #000000;
JSON
{
"hex": "#170f5c",
"rgb": {
"r": 23,
"g": 15,
"b": 92
},
"hsl": {
"h": 246.234,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.24826,
"c": 0.1279,
"h": 276.3
},
"luminance": 0.01297
}Semantic roles & 50–950 ramp
primary
#170F5C
secondary
#8B9531
accent
#EF39DC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D