#1D2C82#1D2C82
#1D2C82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.145 H 269.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2C82 |
|---|---|
| RGB | rgb(29, 44, 130) |
| HSL | hsl(231, 64%, 31%) |
| HSV | hsv(231, 78%, 51%) |
| CMYK | cmyk(77.7%, 66.2%, 0%, 49%) |
| CIE-LAB | lab(22.56, 26.42, -50.04) |
| CIE-LCH | lch(22.56, 56.59, 297.83°) |
| OKLab | oklab(34.29% -0.0018 -0.1447) |
| OKLCH | oklch(34.29% 0.145 269.3) |
| XYZ | xyz(5.4353, 3.6737, 21.5374) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.64
Royal
#0C1793
ΔE00 6.38
Sapphire (survey)
#2138AB
ΔE00 6.50
Marine
#042E60
ΔE00 7.29
Darkslateblue
#483D8B
ΔE00 7.33
Blueberry
#464196
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2C82 #82731D
analogous
#1D5E82 #1D2C82 #401D82
triadic
#1D2C82 #821D2C #2C821D
tetradic
#1D2C82 #821D5E #82731D #1D8240
square
#1D2C82 #821D5E #82731D #1D8240
split-complementary
#1D2C82 #82401D #5E821D
monochromatic
#070A1E #121B50 #1D2C82 #283DB4 #445AD5
Accessibility & contrast
On white
12.11
#1D2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1D2C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2C82
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2C82 | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1d2c82; /* rgb */ color: rgb(29, 44, 130); /* oklch */ color: oklch(34.3% 0.145 269.3);
Tailwind
colors: {
custom: {
50: '#6a65a7',
500: '#1d2c82',
950: '#000000',
},
}SCSS
$custom: #1d2c82; $custom-light: #6a65a7; $custom-dark: #000000;
JSON
{
"hex": "#1d2c82",
"rgb": {
"r": 29,
"g": 44,
"b": 130
},
"hsl": {
"h": 231.089,
"s": 63.522,
"l": 31.176
},
"oklch": {
"l": 0.34286,
"c": 0.14473,
"h": 269.3
},
"luminance": 0.03674
}Semantic roles & 50–950 ramp
primary
#1D2C82
secondary
#B5A546
accent
#CE41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F