#1F1885#1F1885
#1F1885 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.170 H 273.5°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1885 |
|---|---|
| RGB | rgb(31, 24, 133) |
| HSL | hsl(244, 69%, 31%) |
| HSV | hsv(244, 82%, 52%) |
| CMYK | cmyk(76.7%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(18.53, 40.05, -58.58) |
| CIE-LCH | lch(18.53, 70.96, 304.36°) |
| OKLab | oklab(31.52% 0.0104 -0.1695) |
| OKLCH | oklch(31.52% 0.17 273.5) |
| XYZ | xyz(5.1239, 2.6375, 22.4248) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.22
Midnight Blue
#191970
ΔE00 3.49
Darkblue
#00008B
ΔE00 4.05
Navy
#000080
ΔE00 4.34
Indigo (survey)
#380282
ΔE00 4.66
Dark Royal Blue
#02066F
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1885 #7E8518
analogous
#184785 #1F1885 #551885
triadic
#1F1885 #851F18 #18851F
tetradic
#1F1885 #851847 #7E8518 #188555
square
#1F1885 #851847 #7E8518 #188555
split-complementary
#1F1885 #855518 #478518
monochromatic
#07051D #130F51 #1F1885 #2B21B9 #463CDC
Accessibility & contrast
On white
13.75
#1F1885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1F1885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1885
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1885 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1f1885; /* rgb */ color: rgb(31, 24, 133); /* oklch */ color: oklch(31.5% 0.170 273.5);
Tailwind
colors: {
custom: {
50: '#6e58aa',
500: '#1f1885',
950: '#000000',
},
}SCSS
$custom: #1f1885; $custom-light: #6e58aa; $custom-dark: #000000;
JSON
{
"hex": "#1f1885",
"rgb": {
"r": 31,
"g": 24,
"b": 133
},
"hsl": {
"h": 243.853,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.31523,
"c": 0.16978,
"h": 273.5
},
"luminance": 0.02638
}Semantic roles & 50–950 ramp
primary
#1F1885
secondary
#B1B940
accent
#EC3CE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F