#1D216D#1D216D
#1D216D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.129 H 273.3°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1D216D |
|---|---|
| RGB | rgb(29, 33, 109) |
| HSL | hsl(237, 58%, 27%) |
| HSV | hsv(237, 73%, 43%) |
| CMYK | cmyk(73.4%, 69.7%, 0%, 57.3%) |
| CIE-LAB | lab(17.70, 25.84, -44.58) |
| CIE-LCH | lch(17.70, 51.53, 300.10°) |
| OKLab | oklab(30.11% 0.0074 -0.1288) |
| OKLCH | oklch(30.11% 0.129 273.3) |
| XYZ | xyz(3.8099, 2.4527, 14.7377) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.55
Darkblue (survey)
#030764
ΔE00 6.44
Dark Royal Blue
#02066F
ΔE00 6.62
Royal
#0C1793
ΔE00 6.82
Dark Indigo
#1F0954
ΔE00 7.10
Deep Blue
#040273
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D216D #6D691D
analogous
#1D496D #1D216D #411D6D
triadic
#1D216D #6D1D21 #216D1D
tetradic
#1D216D #6D1D49 #6D691D #1D6D41
square
#1D216D #6D1D49 #6D691D #1D6D41
split-complementary
#1D216D #6D411D #496D1D
monochromatic
#060718 #10123D #1D216D #2A309D #3A41CB
Accessibility & contrast
On white
14.09
#1D216D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1D216D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D216D
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D216D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D216D | 1.00 | 14.09 | 1.49 | 14.09 |
| #FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d216d; /* rgb */ color: rgb(29, 33, 109); /* oklch */ color: oklch(30.1% 0.129 273.3);
Tailwind
colors: {
custom: {
50: '#665c98',
500: '#1d216d',
950: '#000000',
},
}SCSS
$custom: #1d216d; $custom-light: #665c98; $custom-dark: #000000;
JSON
{
"hex": "#1d216d",
"rgb": {
"r": 29,
"g": 33,
"b": 109
},
"hsl": {
"h": 237,
"s": 57.971,
"l": 27.059
},
"oklch": {
"l": 0.30113,
"c": 0.129,
"h": 273.3
},
"luminance": 0.02453
}Semantic roles & 50–950 ramp
primary
#1D216D
secondary
#A29D44
accent
#D947E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E