#1D1879#1D1879
#1D1879 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.155 H 274.0°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1879 |
|---|---|
| RGB | rgb(29, 24, 121) |
| HSL | hsl(243, 67%, 28%) |
| HSV | hsv(243, 80%, 47%) |
| CMYK | cmyk(76%, 80.2%, 0%, 52.5%) |
| CIE-LAB | lab(16.96, 35.85, -53.55) |
| CIE-LCH | lch(16.96, 64.44, 303.80°) |
| OKLab | oklab(29.97% 0.0107 -0.1549) |
| OKLCH | oklch(29.97% 0.155 274) |
| XYZ | xyz(4.2834, 2.2945, 18.3026) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.66
Royal
#0C1793
ΔE00 3.91
Dark Royal Blue
#02066F
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.39
Navy
#000080
ΔE00 4.58
Darkblue (survey)
#030764
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1879 #747918
analogous
#184379 #1D1879 #4D1879
triadic
#1D1879 #791D18 #18791D
tetradic
#1D1879 #791843 #747918 #18794D
square
#1D1879 #791843 #747918 #18794D
split-complementary
#1D1879 #794D18 #437918
monochromatic
#06051A #110E46 #1D1879 #2922AC #3D35D7
Accessibility & contrast
On white
14.39
#1D1879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1D1879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1879
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1879 | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1d1879; /* rgb */ color: rgb(29, 24, 121); /* oklch */ color: oklch(30.0% 0.155 274.0);
Tailwind
colors: {
custom: {
50: '#6a57a1',
500: '#1d1879',
950: '#000000',
},
}SCSS
$custom: #1d1879; $custom-light: #6a57a1; $custom-dark: #000000;
JSON
{
"hex": "#1d1879",
"rgb": {
"r": 29,
"g": 24,
"b": 121
},
"hsl": {
"h": 243.093,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.29972,
"c": 0.15527,
"h": 274
},
"luminance": 0.02295
}Semantic roles & 50–950 ramp
primary
#1D1879
secondary
#A8AE3F
accent
#EA3EE1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F