#1F1489#1F1489
#1F1489 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.178 H 273.4°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1489 |
|---|---|
| RGB | rgb(31, 20, 137) |
| HSL | hsl(246, 75%, 31%) |
| HSV | hsv(246, 85%, 54%) |
| CMYK | cmyk(77.4%, 85.4%, 0%, 46.3%) |
| CIE-LAB | lab(18.35, 43.30, -61.39) |
| CIE-LCH | lch(18.35, 75.12, 305.20°) |
| OKLab | oklab(31.54% 0.0107 -0.1775) |
| OKLCH | oklch(31.54% 0.178 273.4) |
| XYZ | xyz(5.3291, 2.5972, 23.8825) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.86
Darkblue
#00008B
ΔE00 3.24
Navy
#000080
ΔE00 3.78
Indigo (survey)
#380282
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 4.16
Midnight Blue
#191970
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1489 #7E8914
analogous
#144389 #1F1489 #591489
triadic
#1F1489 #891F14 #14891F
tetradic
#1F1489 #891443 #7E8914 #148959
square
#1F1489 #891443 #7E8914 #148959
split-complementary
#1F1489 #895914 #438914
monochromatic
#07041E #130C54 #1F1489 #2B1CBE #4636E2
Accessibility & contrast
On white
13.82
#1F1489 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1F1489 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1489
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1489 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1489 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1f1489; /* rgb */ color: rgb(31, 20, 137); /* oklch */ color: oklch(31.5% 0.178 273.4);
Tailwind
colors: {
custom: {
50: '#6f56ad',
500: '#1f1489',
950: '#000000',
},
}SCSS
$custom: #1f1489; $custom-light: #6f56ad; $custom-dark: #000000;
JSON
{
"hex": "#1f1489",
"rgb": {
"r": 31,
"g": 20,
"b": 137
},
"hsl": {
"h": 245.641,
"s": 74.522,
"l": 30.784
},
"oklch": {
"l": 0.31543,
"c": 0.17785,
"h": 273.4
},
"luminance": 0.02598
}Semantic roles & 50–950 ramp
primary
#1F1489
secondary
#B1BD3C
accent
#F137E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F