#1F1889#1F1889
#1F1889 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.175 H 273.1°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1889 |
|---|---|
| RGB | rgb(31, 24, 137) |
| HSL | hsl(244, 70%, 32%) |
| HSV | hsv(244, 82%, 54%) |
| CMYK | cmyk(77.4%, 82.5%, 0%, 46.3%) |
| CIE-LAB | lab(19.01, 41.36, -60.29) |
| CIE-LCH | lch(19.01, 73.11, 304.45°) |
| OKLab | oklab(32% 0.0094 -0.1744) |
| OKLCH | oklch(32% 0.175 273.1) |
| XYZ | xyz(5.4056, 2.7501, 23.9080) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.73
Darkblue
#00008B
ΔE00 3.94
Midnight Blue
#191970
ΔE00 4.07
Cobalt Blue
#030AA7
ΔE00 4.43
Navy
#000080
ΔE00 4.44
Indigo (survey)
#380282
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1889 #828918
analogous
#184A89 #1F1889 #581889
triadic
#1F1889 #891F18 #18891F
tetradic
#1F1889 #89184A #828918 #188958
square
#1F1889 #89184A #828918 #188958
split-complementary
#1F1889 #895818 #4A8918
monochromatic
#070621 #130F55 #1F1889 #2B21BD #483EDD
Accessibility & contrast
On white
13.55
#1F1889 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1F1889 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1889
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1889 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1889 | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f1889; /* rgb */ color: rgb(31, 24, 137); /* oklch */ color: oklch(32.0% 0.175 273.1);
Tailwind
colors: {
custom: {
50: '#6f58ad',
500: '#1f1889',
950: '#000000',
},
}SCSS
$custom: #1f1889; $custom-light: #6f58ad; $custom-dark: #000000;
JSON
{
"hex": "#1f1889",
"rgb": {
"r": 31,
"g": 24,
"b": 137
},
"hsl": {
"h": 243.717,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.32001,
"c": 0.17468,
"h": 273.1
},
"luminance": 0.02751
}Semantic roles & 50–950 ramp
primary
#1F1889
secondary
#B5BD40
accent
#ED3BE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F