#1D2D97#1D2D97
#1D2D97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.172 H 268.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2D97 |
|---|---|
| RGB | rgb(29, 45, 151) |
| HSL | hsl(232, 68%, 35%) |
| HSV | hsv(232, 81%, 59%) |
| CMYK | cmyk(80.8%, 70.2%, 0%, 40.8%) |
| CIE-LAB | lab(24.86, 33.74, -59.32) |
| CIE-LCH | lch(24.86, 68.24, 299.63°) |
| OKLab | oklab(36.59% -0.0039 -0.1718) |
| OKLCH | oklch(36.59% 0.172 268.7) |
| XYZ | xyz(7.0291, 4.3715, 29.7455) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Royal
#0C1793
ΔE00 5.36
Indigo Blue
#3A18B1
ΔE00 6.94
Blueberry
#464196
ΔE00 7.07
Cobalt Blue
#030AA7
ΔE00 7.19
Midnight Blue
#191970
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2D97 #97871D
analogous
#1D6A97 #1D2D97 #4A1D97
triadic
#1D2D97 #971D2D #2D971D
tetradic
#1D2D97 #971D6A #97871D #1D974A
square
#1D2D97 #971D6A #97871D #1D974A
split-complementary
#1D2D97 #974A1D #6A971D
monochromatic
#090E30 #131E64 #1D2D97 #273CCA #5163DE
Accessibility & contrast
On white
11.20
#1D2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1D2D97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2D97
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2D97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2D97 | 1.00 | 11.20 | 1.87 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1d2d97; /* rgb */ color: rgb(29, 45, 151); /* oklch */ color: oklch(36.6% 0.172 268.7);
Tailwind
colors: {
custom: {
50: '#7066b7',
500: '#1d2d97',
950: '#000000',
},
}SCSS
$custom: #1d2d97; $custom-light: #7066b7; $custom-dark: #000000;
JSON
{
"hex": "#1d2d97",
"rgb": {
"r": 29,
"g": 45,
"b": 151
},
"hsl": {
"h": 232.131,
"s": 67.778,
"l": 35.294
},
"oklch": {
"l": 0.3659,
"c": 0.17185,
"h": 268.7
},
"luminance": 0.04372
}Semantic roles & 50–950 ramp
primary
#1D2D97
secondary
#C0B24F
accent
#D43DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80