#1D1989#1D1989
#1D1989 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.174 H 272.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1989 |
|---|---|
| RGB | rgb(29, 25, 137) |
| HSL | hsl(242, 69%, 32%) |
| HSV | hsv(242, 82%, 54%) |
| CMYK | cmyk(78.8%, 81.8%, 0%, 46.3%) |
| CIE-LAB | lab(19.06, 40.70, -60.21) |
| CIE-LCH | lch(19.06, 72.67, 304.06°) |
| OKLab | oklab(32% 0.0065 -0.1742) |
| OKLCH | oklch(32% 0.174 272.1) |
| XYZ | xyz(5.3682, 2.7620, 23.9123) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.67
Midnight Blue
#191970
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 4.51
Navy
#000080
ΔE00 4.59
Indigo (survey)
#380282
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1989 #858919
analogous
#194D89 #1D1989 #551989
triadic
#1D1989 #891D19 #19891D
tetradic
#1D1989 #89194D #858919 #198955
square
#1D1989 #89194D #858919 #198955
split-complementary
#1D1989 #895519 #4D8919
monochromatic
#070621 #121055 #1D1989 #2822BD #4640DC
Accessibility & contrast
On white
13.53
#1D1989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1D1989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1989
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1989 | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1d1989; /* rgb */ color: rgb(29, 25, 137); /* oklch */ color: oklch(32.0% 0.174 272.1);
Tailwind
colors: {
custom: {
50: '#6e59ad',
500: '#1d1989',
950: '#000000',
},
}SCSS
$custom: #1d1989; $custom-light: #6e59ad; $custom-dark: #000000;
JSON
{
"hex": "#1d1989",
"rgb": {
"r": 29,
"g": 25,
"b": 137
},
"hsl": {
"h": 242.143,
"s": 69.136,
"l": 31.765
},
"oklch": {
"l": 0.32002,
"c": 0.17437,
"h": 272.1
},
"luminance": 0.02763
}Semantic roles & 50–950 ramp
primary
#1D1989
secondary
#B8BC41
accent
#EC3CE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F