#1D1F89#1D1F89
#1D1F89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.169 H 271.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1F89 |
|---|---|
| RGB | rgb(29, 31, 137) |
| HSL | hsl(239, 65%, 33%) |
| HSV | hsv(239, 79%, 54%) |
| CMYK | cmyk(78.8%, 77.4%, 0%, 46.3%) |
| CIE-LAB | lab(20.23, 37.35, -58.28) |
| CIE-LCH | lch(20.23, 69.22, 302.66°) |
| OKLab | oklab(32.82% 0.0043 -0.1687) |
| OKLCH | oklch(32.82% 0.169 271.5) |
| XYZ | xyz(5.5105, 3.0467, 23.9597) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.40
Midnight Blue
#191970
ΔE00 3.98
Cobalt Blue
#030AA7
ΔE00 5.31
Darkblue
#00008B
ΔE00 5.46
Navy
#000080
ΔE00 5.89
Royal Blue (survey)
#0504AA
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1F89 #89871D
analogous
#1D5589 #1D1F89 #511D89
triadic
#1D1F89 #891D1F #1F891D
tetradic
#1D1F89 #891D55 #89871D #1D8951
square
#1D1F89 #891D55 #89871D #1D8951
split-complementary
#1D1F89 #89511D #55891D
monochromatic
#080824 #121456 #1D1F89 #282ABC #484BD8
Accessibility & contrast
On white
13.05
#1D1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1D1F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1F89
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1F89 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d1f89; /* rgb */ color: rgb(29, 31, 137); /* oklch */ color: oklch(32.8% 0.169 271.5);
Tailwind
colors: {
custom: {
50: '#6d5cad',
500: '#1d1f89',
950: '#000000',
},
}SCSS
$custom: #1d1f89; $custom-light: #6d5cad; $custom-dark: #000000;
JSON
{
"hex": "#1d1f89",
"rgb": {
"r": 29,
"g": 31,
"b": 137
},
"hsl": {
"h": 238.889,
"s": 65.06,
"l": 32.549
},
"oklch": {
"l": 0.32821,
"c": 0.16878,
"h": 271.5
},
"luminance": 0.03047
}Semantic roles & 50–950 ramp
primary
#1D1F89
secondary
#BAB847
accent
#E540E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F