#1D216F#1D216F
#1D216F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.132 H 273.1°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1D216F |
|---|---|
| RGB | rgb(29, 33, 111) |
| HSL | hsl(237, 59%, 27%) |
| HSV | hsv(237, 74%, 44%) |
| CMYK | cmyk(73.9%, 70.3%, 0%, 56.5%) |
| CIE-LAB | lab(17.90, 26.61, -45.55) |
| CIE-LCH | lch(17.90, 52.75, 300.29°) |
| OKLab | oklab(30.32% 0.0072 -0.1316) |
| OKLCH | oklch(30.32% 0.132 273.1) |
| XYZ | xyz(3.9188, 2.4962, 15.3111) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.37
Darkblue (survey)
#030764
ΔE00 6.40
Royal
#0C1793
ΔE00 6.48
Dark Royal Blue
#02066F
ΔE00 6.48
Deep Blue
#040273
ΔE00 7.20
Dark Indigo
#1F0954
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D216F #6F6B1D
analogous
#1D4A6F #1D216F #421D6F
triadic
#1D216F #6F1D21 #216F1D
tetradic
#1D216F #6F1D4A #6F6B1D #1D6F42
square
#1D216F #6F1D4A #6F6B1D #1D6F42
split-complementary
#1D216F #6F421D #4A6F1D
monochromatic
#060718 #10133E #1D216F #2A2FA0 #3B42CC
Accessibility & contrast
On white
14.01
#1D216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1D216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D216F
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D216F | 1.00 | 14.01 | 1.50 | 14.01 |
| #FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1d216f; /* rgb */ color: rgb(29, 33, 111); /* oklch */ color: oklch(30.3% 0.132 273.1);
Tailwind
colors: {
custom: {
50: '#665c99',
500: '#1d216f',
950: '#000000',
},
}SCSS
$custom: #1d216f; $custom-light: #665c99; $custom-dark: #000000;
JSON
{
"hex": "#1d216f",
"rgb": {
"r": 29,
"g": 33,
"b": 111
},
"hsl": {
"h": 237.073,
"s": 58.571,
"l": 27.451
},
"oklch": {
"l": 0.30318,
"c": 0.13183,
"h": 273.1
},
"luminance": 0.02497
}Semantic roles & 50–950 ramp
primary
#1D216F
secondary
#A39F44
accent
#DA46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E