#1D2C7D#1D2C7D
#1D2C7D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.138 H 269.3°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2C7D |
|---|---|
| RGB | rgb(29, 44, 125) |
| HSL | hsl(231, 62%, 30%) |
| HSV | hsv(231, 77%, 49%) |
| CMYK | cmyk(76.8%, 64.8%, 0%, 51%) |
| CIE-LAB | lab(22.10, 24.47, -47.65) |
| CIE-LCH | lch(22.10, 53.56, 297.18°) |
| OKLab | oklab(33.8% -0.0016 -0.1377) |
| OKLCH | oklch(33.8% 0.138 269.3) |
| XYZ | xyz(5.1078, 3.5427, 19.8127) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.57
Marine
#042E60
ΔE00 6.63
Royal
#0C1793
ΔE00 6.96
Sapphire (survey)
#2138AB
ΔE00 7.19
Darkslateblue
#483D8B
ΔE00 7.47
Blueberry
#464196
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2C7D #7D6E1D
analogous
#1D5C7D #1D2C7D #3E1D7D
triadic
#1D2C7D #7D1D2C #2C7D1D
tetradic
#1D2C7D #7D1D5C #7D6E1D #1D7D3E
square
#1D2C7D #7D1D5C #7D6E1D #1D7D3E
split-complementary
#1D2C7D #7D3E1D #5C7D1D
monochromatic
#06091A #111B4B #1D2C7D #293DAF #4158D3
Accessibility & contrast
On white
12.29
#1D2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1D2C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2C7D
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2C7D | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1d2c7d; /* rgb */ color: rgb(29, 44, 125); /* oklch */ color: oklch(33.8% 0.138 269.3);
Tailwind
colors: {
custom: {
50: '#6965a3',
500: '#1d2c7d',
950: '#000000',
},
}SCSS
$custom: #1d2c7d; $custom-light: #6965a3; $custom-dark: #000000;
JSON
{
"hex": "#1d2c7d",
"rgb": {
"r": 29,
"g": 44,
"b": 125
},
"hsl": {
"h": 230.625,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.33801,
"c": 0.1377,
"h": 269.3
},
"luminance": 0.03543
}Semantic roles & 50–950 ramp
primary
#1D2C7D
secondary
#B1A045
accent
#CC42E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F