#1D1979#1D1979
#1D1979 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.154 H 273.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1979 |
|---|---|
| RGB | rgb(29, 25, 121) |
| HSL | hsl(243, 66%, 29%) |
| HSV | hsv(243, 79%, 47%) |
| CMYK | cmyk(76%, 79.3%, 0%, 52.5%) |
| CIE-LAB | lab(17.16, 35.28, -53.22) |
| CIE-LCH | lch(17.16, 63.85, 303.54°) |
| OKLab | oklab(30.11% 0.0102 -0.1539) |
| OKLCH | oklch(30.11% 0.154 273.8) |
| XYZ | xyz(4.3044, 2.3365, 18.3096) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.57
Royal
#0C1793
ΔE00 3.95
Dark Royal Blue
#02066F
ΔE00 4.20
Deep Blue
#040273
ΔE00 4.61
Navy
#000080
ΔE00 4.80
Darkblue (survey)
#030764
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1979 #757919
analogous
#194579 #1D1979 #4D1979
triadic
#1D1979 #791D19 #19791D
tetradic
#1D1979 #791945 #757919 #19794D
square
#1D1979 #791945 #757919 #19794D
split-complementary
#1D1979 #794D19 #457919
monochromatic
#060519 #110F46 #1D1979 #2923AC #3D37D6
Accessibility & contrast
On white
14.31
#1D1979 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1D1979 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1979
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1979 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1979 | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1d1979; /* rgb */ color: rgb(29, 25, 121); /* oklch */ color: oklch(30.1% 0.154 273.8);
Tailwind
colors: {
custom: {
50: '#6a57a1',
500: '#1d1979',
950: '#000000',
},
}SCSS
$custom: #1d1979; $custom-light: #6a57a1; $custom-dark: #000000;
JSON
{
"hex": "#1d1979",
"rgb": {
"r": 29,
"g": 25,
"b": 121
},
"hsl": {
"h": 242.5,
"s": 65.753,
"l": 28.627
},
"oklch": {
"l": 0.30113,
"c": 0.15429,
"h": 273.8
},
"luminance": 0.02337
}Semantic roles & 50–950 ramp
primary
#1D1979
secondary
#A9AE40
accent
#E93FE2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F