#170C52#170C52
#170C52 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.118 H 279.1°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).
Color values
| HEX | #170C52 |
|---|---|
| RGB | rgb(23, 12, 82) |
| HSL | hsl(249, 74%, 18%) |
| HSV | hsv(249, 85%, 32%) |
| CMYK | cmyk(72%, 85.4%, 0%, 67.8%) |
| CIE-LAB | lab(9.43, 28.58, -40.19) |
| CIE-LCH | lch(9.43, 49.31, 305.41°) |
| OKLab | oklab(23.2% 0.0187 -0.116) |
| OKLCH | oklch(23.2% 0.118 279.1) |
| XYZ | xyz(2.0073, 1.0541, 8.0787) |
| Luminance | 0.0105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.62
Night Blue
#040348
ΔE00 2.80
Dark Blue
#00035B
ΔE00 3.59
Darkblue (survey)
#030764
ΔE00 4.05
Navy Blue (survey)
#001146
ΔE00 4.98
Midnight Blue
#191970
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#170C52 #47520C
analogous
#0C2452 #170C52 #3A0C52
triadic
#170C52 #52170C #0C5217
tetradic
#170C52 #520C24 #47520C #0C523A
square
#170C52 #520C24 #47520C #0C523A
split-complementary
#170C52 #523A0C #24520C
monochromatic
#07041B #08041D #170C52 #261487 #351CBD
Accessibility & contrast
On white
17.34
#170C52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#170C52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #170C52
17.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##170C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##170C52 | 1.00 | 17.34 | 1.21 | 17.34 |
| #FFFFFF | 17.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001D54
Deuteranopia (green-blind)
#001851
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #170c52; /* rgb */ color: rgb(23, 12, 82); /* oklch */ color: oklch(23.2% 0.118 279.1);
Tailwind
colors: {
custom: {
50: '#5e4d83',
500: '#170c52',
950: '#000000',
},
}SCSS
$custom: #170c52; $custom-light: #5e4d83; $custom-dark: #000000;
JSON
{
"hex": "#170c52",
"rgb": {
"r": 23,
"g": 12,
"b": 82
},
"hsl": {
"h": 249.429,
"s": 74.468,
"l": 18.431
},
"oklch": {
"l": 0.23196,
"c": 0.11754,
"h": 279.1
},
"luminance": 0.01054
}Semantic roles & 50–950 ramp
primary
#170C52
secondary
#7E8D2C
accent
#F137D4
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C