#1D2D80#1D2D80
#1D2D80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.141 H 269.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2D80 |
|---|---|
| RGB | rgb(29, 45, 128) |
| HSL | hsl(230, 63%, 31%) |
| HSV | hsv(230, 77%, 50%) |
| CMYK | cmyk(77.3%, 64.8%, 0%, 49.8%) |
| CIE-LAB | lab(22.64, 24.95, -48.66) |
| CIE-LCH | lch(22.64, 54.68, 297.15°) |
| OKLab | oklab(34.29% -0.0024 -0.1406) |
| OKLCH | oklch(34.29% 0.141 269) |
| XYZ | xyz(5.3400, 3.6959, 20.8498) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.90
Sapphire (survey)
#2138AB
ΔE00 6.68
Marine
#042E60
ΔE00 6.83
Royal
#0C1793
ΔE00 6.90
Darkslateblue
#483D8B
ΔE00 7.28
Blueberry
#464196
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2D80 #80701D
analogous
#1D5E80 #1D2D80 #3E1D80
triadic
#1D2D80 #801D2D #2D801D
tetradic
#1D2D80 #801D5E #80701D #1D803E
square
#1D2D80 #801D5E #80701D #1D803E
split-complementary
#1D2D80 #803E1D #5E801D
monochromatic
#060A1C #121B4E #1D2D80 #283FB2 #435AD4
Accessibility & contrast
On white
12.07
#1D2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1D2D80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2D80
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2D80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2D80 | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1d2d80; /* rgb */ color: rgb(29, 45, 128); /* oklch */ color: oklch(34.3% 0.141 269.0);
Tailwind
colors: {
custom: {
50: '#6a65a6',
500: '#1d2d80',
950: '#000000',
},
}SCSS
$custom: #1d2d80; $custom-light: #6a65a6; $custom-dark: #000000;
JSON
{
"hex": "#1d2d80",
"rgb": {
"r": 29,
"g": 45,
"b": 128
},
"hsl": {
"h": 230.303,
"s": 63.057,
"l": 30.784
},
"oklch": {
"l": 0.34286,
"c": 0.14066,
"h": 269
},
"luminance": 0.03696
}Semantic roles & 50–950 ramp
primary
#1D2D80
secondary
#B3A245
accent
#CC42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F