#1D2F86#1D2F86
#1D2F86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.147 H 268.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2F86 |
|---|---|
| RGB | rgb(29, 47, 134) |
| HSL | hsl(230, 64%, 32%) |
| HSV | hsv(230, 78%, 53%) |
| CMYK | cmyk(78.4%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(23.72, 25.92, -50.66) |
| CIE-LCH | lch(23.72, 56.90, 297.10°) |
| OKLab | oklab(35.25% -0.0039 -0.1465) |
| OKLCH | oklch(35.25% 0.147 268.5) |
| XYZ | xyz(5.8248, 4.0148, 23.0176) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.69
Midnight Blue
#191970
ΔE00 6.64
Royal
#0C1793
ΔE00 6.90
Darkslateblue
#483D8B
ΔE00 6.98
Blueberry
#464196
ΔE00 7.09
Marine
#042E60
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2F86 #86741D
analogous
#1D6486 #1D2F86 #3F1D86
triadic
#1D2F86 #861D2F #2F861D
tetradic
#1D2F86 #861D64 #86741D #1D863F
square
#1D2F86 #861D64 #86741D #1D863F
split-complementary
#1D2F86 #863F1D #64861D
monochromatic
#070C21 #121D54 #1D2F86 #2841B8 #465FD7
Accessibility & contrast
On white
11.65
#1D2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1D2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2F86
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2F86 | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1d2f86; /* rgb */ color: rgb(29, 47, 134); /* oklch */ color: oklch(35.3% 0.147 268.5);
Tailwind
colors: {
custom: {
50: '#6b67aa',
500: '#1d2f86',
950: '#000000',
},
}SCSS
$custom: #1d2f86; $custom-light: #6b67aa; $custom-dark: #000000;
JSON
{
"hex": "#1d2f86",
"rgb": {
"r": 29,
"g": 47,
"b": 134
},
"hsl": {
"h": 229.714,
"s": 64.417,
"l": 31.961
},
"oklch": {
"l": 0.35253,
"c": 0.14653,
"h": 268.5
},
"luminance": 0.04015
}Semantic roles & 50–950 ramp
primary
#1D2F86
secondary
#B9A546
accent
#CB40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F