#1D176C#1D176C
#1D176C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.139 H 275.9°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1D176C |
|---|---|
| RGB | rgb(29, 23, 108) |
| HSL | hsl(244, 65%, 26%) |
| HSV | hsv(244, 79%, 42%) |
| CMYK | cmyk(73.1%, 78.7%, 0%, 57.6%) |
| CIE-LAB | lab(15.26, 31.92, -47.95) |
| CIE-LCH | lch(15.26, 57.60, 303.65°) |
| OKLab | oklab(28.33% 0.0143 -0.1386) |
| OKLCH | oklch(28.33% 0.139 275.9) |
| XYZ | xyz(3.5190, 1.9564, 14.3766) |
| Luminance | 0.0196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.98
Darkblue (survey)
#030764
ΔE00 3.85
Dark Royal Blue
#02066F
ΔE00 3.96
Deep Blue
#040273
ΔE00 4.66
Dark Indigo
#1F0954
ΔE00 4.97
Dark Blue
#00035B
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D176C #666C17
analogous
#173B6C #1D176C #47176C
triadic
#1D176C #6C1D17 #176C1D
tetradic
#1D176C #6C173B #666C17 #176C47
square
#1D176C #6C173B #666C17 #176C47
split-complementary
#1D176C #6C4717 #3B6C17
monochromatic
#070519 #0F0C3A #1D176C #2B229E #382CD1
Accessibility & contrast
On white
15.09
#1D176C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#1D176C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D176C
15.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D176C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D176C | 1.00 | 15.09 | 1.39 | 15.09 |
| #FFFFFF | 15.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1d176c; /* rgb */ color: rgb(29, 23, 108); /* oklch */ color: oklch(28.3% 0.139 275.9);
Tailwind
colors: {
custom: {
50: '#675597',
500: '#1d176c',
950: '#000000',
},
}SCSS
$custom: #1d176c; $custom-light: #675597; $custom-dark: #000000;
JSON
{
"hex": "#1d176c",
"rgb": {
"r": 29,
"g": 23,
"b": 108
},
"hsl": {
"h": 244.235,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.28326,
"c": 0.13934,
"h": 275.9
},
"luminance": 0.01957
}Semantic roles & 50–950 ramp
primary
#1D176C
secondary
#9BA23D
accent
#E840DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E