#1D217C#1D217C
#1D217C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.150 H 272.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1D217C |
|---|---|
| RGB | rgb(29, 33, 124) |
| HSL | hsl(237, 62%, 30%) |
| HSV | hsv(237, 77%, 49%) |
| CMYK | cmyk(76.6%, 73.4%, 0%, 51.4%) |
| CIE-LAB | lab(19.24, 31.46, -51.70) |
| CIE-LCH | lch(19.24, 60.52, 301.32°) |
| OKLab | oklab(31.69% 0.0055 -0.1496) |
| OKLCH | oklch(31.69% 0.15 272.1) |
| XYZ | xyz(4.6874, 2.8037, 19.3590) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.56
Royal
#0C1793
ΔE00 4.40
Dark Royal Blue
#02066F
ΔE00 6.15
Deep Blue
#040273
ΔE00 6.64
Darkblue (survey)
#030764
ΔE00 6.68
Navy
#000080
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D217C #7C781D
analogous
#1D507C #1D217C #491D7C
triadic
#1D217C #7C1D21 #217C1D
tetradic
#1D217C #7C1D50 #7C781D #1D7C49
square
#1D217C #7C1D50 #7C781D #1D7C49
split-complementary
#1D217C #7C491D #507C1D
monochromatic
#060719 #11144A #1D217C #292EAE #4147D3
Accessibility & contrast
On white
13.45
#1D217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1D217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D217C
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D217C | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1d217c; /* rgb */ color: rgb(29, 33, 124); /* oklch */ color: oklch(31.7% 0.150 272.1);
Tailwind
colors: {
custom: {
50: '#6a5da3',
500: '#1d217c',
950: '#000000',
},
}SCSS
$custom: #1d217c; $custom-light: #6a5da3; $custom-dark: #000000;
JSON
{
"hex": "#1d217c",
"rgb": {
"r": 29,
"g": 33,
"b": 124
},
"hsl": {
"h": 237.474,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.31689,
"c": 0.1497,
"h": 272.1
},
"luminance": 0.02804
}Semantic roles & 50–950 ramp
primary
#1D217C
secondary
#B0AB45
accent
#DE43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F