#171973#171973
#171973 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.148 H 271.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #171973 |
|---|---|
| RGB | rgb(23, 25, 115) |
| HSL | hsl(239, 67%, 27%) |
| HSV | hsv(239, 80%, 45%) |
| CMYK | cmyk(80%, 78.3%, 0%, 54.9%) |
| CIE-LAB | lab(16.08, 32.62, -51.16) |
| CIE-LCH | lch(16.08, 60.67, 302.52°) |
| OKLab | oklab(29.04% 0.0039 -0.1481) |
| OKLCH | oklch(29.04% 0.148 271.5) |
| XYZ | xyz(3.7944, 2.1148, 16.4246) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.54
Dark Royal Blue
#02066F
ΔE00 4.06
Darkblue (survey)
#030764
ΔE00 4.39
Deep Blue
#040273
ΔE00 4.70
Royal
#0C1793
ΔE00 4.86
Navy
#000080
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171973 #737117
analogous
#174773 #171973 #431773
triadic
#171973 #731719 #197317
tetradic
#171973 #731747 #737117 #177343
square
#171973 #731747 #737117 #177343
split-complementary
#171973 #734317 #477317
monochromatic
#05061A #0D0E40 #171973 #2124A6 #2F33D5
Accessibility & contrast
On white
14.76
#171973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#171973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171973
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171973 | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171973; /* rgb */ color: rgb(23, 25, 115); /* oklch */ color: oklch(29.0% 0.148 271.5);
Tailwind
colors: {
custom: {
50: '#66579c',
500: '#171973',
950: '#000000',
},
}SCSS
$custom: #171973; $custom-light: #66579c; $custom-dark: #000000;
JSON
{
"hex": "#171973",
"rgb": {
"r": 23,
"g": 25,
"b": 115
},
"hsl": {
"h": 238.696,
"s": 66.667,
"l": 27.059
},
"oklch": {
"l": 0.29038,
"c": 0.14816,
"h": 271.5
},
"luminance": 0.02115
}Semantic roles & 50–950 ramp
primary
#171973
secondary
#A9A63D
accent
#E63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E