#1F1989#1F1989
#1F1989 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.174 H 273.0°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1989 |
|---|---|
| RGB | rgb(31, 25, 137) |
| HSL | hsl(243, 69%, 32%) |
| HSV | hsv(243, 82%, 54%) |
| CMYK | cmyk(77.4%, 81.8%, 0%, 46.3%) |
| CIE-LAB | lab(19.19, 40.84, -60.00) |
| CIE-LCH | lch(19.19, 72.58, 304.25°) |
| OKLab | oklab(32.12% 0.0091 -0.1736) |
| OKLCH | oklch(32.12% 0.174 273) |
| XYZ | xyz(5.4266, 2.7921, 23.9150) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.76
Midnight Blue
#191970
ΔE00 4.02
Darkblue
#00008B
ΔE00 4.14
Cobalt Blue
#030AA7
ΔE00 4.52
Navy
#000080
ΔE00 4.63
Indigo (survey)
#380282
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1989 #838919
analogous
#194B89 #1F1989 #571989
triadic
#1F1989 #891F19 #19891F
tetradic
#1F1989 #89194B #838919 #198957
square
#1F1989 #89194B #838919 #198957
split-complementary
#1F1989 #895719 #4B8919
monochromatic
#080621 #131055 #1F1989 #2B22BD #4940DC
Accessibility & contrast
On white
13.47
#1F1989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1F1989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1989
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1989 | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f1989; /* rgb */ color: rgb(31, 25, 137); /* oklch */ color: oklch(32.1% 0.174 273.0);
Tailwind
colors: {
custom: {
50: '#6f59ad',
500: '#1f1989',
950: '#000000',
},
}SCSS
$custom: #1f1989; $custom-light: #6f59ad; $custom-dark: #000000;
JSON
{
"hex": "#1f1989",
"rgb": {
"r": 31,
"g": 25,
"b": 137
},
"hsl": {
"h": 243.214,
"s": 69.136,
"l": 31.765
},
"oklch": {
"l": 0.32124,
"c": 0.17383,
"h": 273
},
"luminance": 0.02793
}Semantic roles & 50–950 ramp
primary
#1F1989
secondary
#B6BC41
accent
#EC3CE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F