#1D1B79#1D1B79
#1D1B79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.152 H 273.5°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1B79 |
|---|---|
| RGB | rgb(29, 27, 121) |
| HSL | hsl(241, 64%, 29%) |
| HSV | hsv(241, 78%, 47%) |
| CMYK | cmyk(76%, 77.7%, 0%, 52.5%) |
| CIE-LAB | lab(17.58, 34.11, -52.53) |
| CIE-LCH | lch(17.58, 62.63, 302.99°) |
| OKLab | oklab(30.4% 0.0093 -0.152) |
| OKLCH | oklch(30.4% 0.152 273.5) |
| XYZ | xyz(4.3487, 2.4251, 18.3244) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.50
Royal
#0C1793
ΔE00 4.07
Dark Royal Blue
#02066F
ΔE00 4.63
Deep Blue
#040273
ΔE00 5.09
Darkblue (survey)
#030764
ΔE00 5.25
Navy
#000080
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1B79 #77791B
analogous
#1B4879 #1D1B79 #4C1B79
triadic
#1D1B79 #791D1B #1B791D
tetradic
#1D1B79 #791B48 #77791B #1B794C
square
#1D1B79 #791B48 #77791B #1B794C
split-complementary
#1D1B79 #794C1B #48791B
monochromatic
#060619 #111047 #1D1B79 #2926AB #3E3BD3
Accessibility & contrast
On white
14.14
#1D1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1D1B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1B79
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1B79 | 1.00 | 14.14 | 1.49 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d1b79; /* rgb */ color: rgb(29, 27, 121); /* oklch */ color: oklch(30.4% 0.152 273.5);
Tailwind
colors: {
custom: {
50: '#6959a1',
500: '#1d1b79',
950: '#000000',
},
}SCSS
$custom: #1d1b79; $custom-light: #6959a1; $custom-dark: #000000;
JSON
{
"hex": "#1d1b79",
"rgb": {
"r": 29,
"g": 27,
"b": 121
},
"hsl": {
"h": 241.277,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.30405,
"c": 0.15226,
"h": 273.5
},
"luminance": 0.02426
}Semantic roles & 50–950 ramp
primary
#1D1B79
secondary
#ABAD43
accent
#E741E3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F