#1D2F84#1D2F84
#1D2F84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.144 H 268.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2F84 |
|---|---|
| RGB | rgb(29, 47, 132) |
| HSL | hsl(230, 64%, 32%) |
| HSV | hsv(230, 78%, 52%) |
| CMYK | cmyk(78%, 64.4%, 0%, 48.2%) |
| CIE-LAB | lab(23.54, 25.14, -49.70) |
| CIE-LCH | lch(23.54, 55.70, 296.83°) |
| OKLab | oklab(35.06% -0.0039 -0.1437) |
| OKLCH | oklch(35.06% 0.144 268.5) |
| XYZ | xyz(5.6866, 3.9596, 22.2899) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.97
Midnight Blue
#191970
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 7.02
Marine
#042E60
ΔE00 7.02
Royal
#0C1793
ΔE00 7.09
Blueberry
#464196
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2F84 #84721D
analogous
#1D6384 #1D2F84 #3F1D84
triadic
#1D2F84 #841D2F #2F841D
tetradic
#1D2F84 #841D63 #84721D #1D843F
square
#1D2F84 #841D63 #84721D #1D843F
split-complementary
#1D2F84 #843F1D #63841D
monochromatic
#070B20 #121D52 #1D2F84 #2841B6 #455FD6
Accessibility & contrast
On white
11.72
#1D2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1D2F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2F84
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2F84 | 1.00 | 11.72 | 1.79 | 11.72 |
| #FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1d2f84; /* rgb */ color: rgb(29, 47, 132); /* oklch */ color: oklch(35.1% 0.144 268.5);
Tailwind
colors: {
custom: {
50: '#6a67a9',
500: '#1d2f84',
950: '#000000',
},
}SCSS
$custom: #1d2f84; $custom-light: #6a67a9; $custom-dark: #000000;
JSON
{
"hex": "#1d2f84",
"rgb": {
"r": 29,
"g": 47,
"b": 132
},
"hsl": {
"h": 229.515,
"s": 63.975,
"l": 31.569
},
"oklch": {
"l": 0.35062,
"c": 0.14374,
"h": 268.5
},
"luminance": 0.0396
}Semantic roles & 50–950 ramp
primary
#1D2F84
secondary
#B7A346
accent
#CA41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F