#1D1F79#1D1F79
#1D1F79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.148 H 272.8°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1F79 |
|---|---|
| RGB | rgb(29, 31, 121) |
| HSL | hsl(239, 61%, 29%) |
| HSV | hsv(239, 76%, 47%) |
| CMYK | cmyk(76%, 74.4%, 0%, 52.5%) |
| CIE-LAB | lab(18.46, 31.64, -51.08) |
| CIE-LCH | lch(18.46, 60.08, 301.78°) |
| OKLab | oklab(31.03% 0.0071 -0.1478) |
| OKLCH | oklch(31.03% 0.148 272.8) |
| XYZ | xyz(4.4467, 2.6212, 18.3570) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.91
Royal
#0C1793
ΔE00 4.53
Dark Royal Blue
#02066F
ΔE00 5.61
Darkblue (survey)
#030764
ΔE00 6.07
Deep Blue
#040273
ΔE00 6.13
Navy
#000080
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1F79 #79771D
analogous
#1D4D79 #1D1F79 #491D79
triadic
#1D1F79 #791D1F #1F791D
tetradic
#1D1F79 #791D4D #79771D #1D7949
square
#1D1F79 #791D4D #79771D #1D7949
split-complementary
#1D1F79 #79491D #4D791D
monochromatic
#060619 #111248 #1D1F79 #292CAA #3F43D1
Accessibility & contrast
On white
13.78
#1D1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1D1F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1F79
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1F79 | 1.00 | 13.78 | 1.52 | 13.78 |
| #FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1d1f79; /* rgb */ color: rgb(29, 31, 121); /* oklch */ color: oklch(31.0% 0.148 272.8);
Tailwind
colors: {
custom: {
50: '#695ba1',
500: '#1d1f79',
950: '#000000',
},
}SCSS
$custom: #1d1f79; $custom-light: #695ba1; $custom-dark: #000000;
JSON
{
"hex": "#1d1f79",
"rgb": {
"r": 29,
"g": 31,
"b": 121
},
"hsl": {
"h": 238.696,
"s": 61.333,
"l": 29.412
},
"oklch": {
"l": 0.31033,
"c": 0.14794,
"h": 272.8
},
"luminance": 0.02622
}Semantic roles & 50–950 ramp
primary
#1D1F79
secondary
#ADAB45
accent
#E143E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F