#171C6B#171C6B
#171C6B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.134 H 271.6°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #171C6B |
|---|---|
| RGB | rgb(23, 28, 107) |
| HSL | hsl(236, 65%, 25%) |
| HSV | hsv(236, 79%, 42%) |
| CMYK | cmyk(78.5%, 73.8%, 0%, 58%) |
| CIE-LAB | lab(15.87, 27.72, -46.30) |
| CIE-LCH | lch(15.87, 53.97, 300.91°) |
| OKLab | oklab(28.62% 0.0037 -0.134) |
| OKLCH | oklch(28.62% 0.134 271.6) |
| XYZ | xyz(3.4215, 2.0738, 14.1270) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.50
Darkblue (survey)
#030764
ΔE00 5.04
Dark Royal Blue
#02066F
ΔE00 5.30
Deep Blue
#040273
ΔE00 6.10
Dark Indigo
#1F0954
ΔE00 6.11
Dark Blue
#00035B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C6B #6B6617
analogous
#17466B #171C6B #3C176B
triadic
#171C6B #6B171C #1C6B17
tetradic
#171C6B #6B1746 #6B6617 #176B3C
square
#171C6B #6B1746 #6B6617 #176B3C
split-complementary
#171C6B #6B3C17 #466B17
monochromatic
#050719 #0C0F39 #171C6B #22299D #2D36D0
Accessibility & contrast
On white
14.84
#171C6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#171C6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C6B
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C6B | 1.00 | 14.84 | 1.41 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #171c6b; /* rgb */ color: rgb(23, 28, 107); /* oklch */ color: oklch(28.6% 0.134 271.6);
Tailwind
colors: {
custom: {
50: '#635896',
500: '#171c6b',
950: '#000000',
},
}SCSS
$custom: #171c6b; $custom-light: #635896; $custom-dark: #000000;
JSON
{
"hex": "#171c6b",
"rgb": {
"r": 23,
"g": 28,
"b": 107
},
"hsl": {
"h": 236.429,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.28621,
"c": 0.13403,
"h": 271.6
},
"luminance": 0.02074
}Semantic roles & 50–950 ramp
primary
#171C6B
secondary
#A19B3D
accent
#DE40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E