#1D216C#1D216C
#1D216C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.128 H 273.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1D216C |
|---|---|
| RGB | rgb(29, 33, 108) |
| HSL | hsl(237, 58%, 27%) |
| HSV | hsv(237, 73%, 42%) |
| CMYK | cmyk(73.1%, 69.4%, 0%, 57.6%) |
| CIE-LAB | lab(17.61, 25.46, -44.09) |
| CIE-LCH | lch(17.61, 50.91, 300.01°) |
| OKLab | oklab(30.01% 0.0075 -0.1273) |
| OKLCH | oklch(30.01% 0.128 273.4) |
| XYZ | xyz(3.7564, 2.4313, 14.4558) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.65
Darkblue (survey)
#030764
ΔE00 6.47
Dark Royal Blue
#02066F
ΔE00 6.70
Royal
#0C1793
ΔE00 7.00
Dark Indigo
#1F0954
ΔE00 7.05
Navy Blue (survey)
#001146
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D216C #6C681D
analogous
#1D496C #1D216C #411D6C
triadic
#1D216C #6C1D21 #216C1D
tetradic
#1D216C #6C1D49 #6C681D #1D6C41
square
#1D216C #6C1D49 #6C681D #1D6C41
split-complementary
#1D216C #6C411D #496C1D
monochromatic
#060718 #10123C #1D216C #2A309C #3941CA
Accessibility & contrast
On white
14.13
#1D216C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1D216C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D216C
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D216C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D216C | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d216c; /* rgb */ color: rgb(29, 33, 108); /* oklch */ color: oklch(30.0% 0.128 273.4);
Tailwind
colors: {
custom: {
50: '#655c97',
500: '#1d216c',
950: '#000000',
},
}SCSS
$custom: #1d216c; $custom-light: #655c97; $custom-dark: #000000;
JSON
{
"hex": "#1d216c",
"rgb": {
"r": 29,
"g": 33,
"b": 108
},
"hsl": {
"h": 236.962,
"s": 57.664,
"l": 26.863
},
"oklch": {
"l": 0.30011,
"c": 0.12757,
"h": 273.4
},
"luminance": 0.02432
}Semantic roles & 50–950 ramp
primary
#1D216C
secondary
#A19C44
accent
#D947E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E