#1F1884#1F1884
#1F1884 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.169 H 273.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1884 |
|---|---|
| RGB | rgb(31, 24, 132) |
| HSL | hsl(244, 69%, 31%) |
| HSV | hsv(244, 82%, 52%) |
| CMYK | cmyk(76.5%, 81.8%, 0%, 48.2%) |
| CIE-LAB | lab(18.41, 39.72, -58.14) |
| CIE-LCH | lch(18.41, 70.42, 304.34°) |
| OKLab | oklab(31.4% 0.0107 -0.1682) |
| OKLCH | oklch(31.4% 0.169 273.6) |
| XYZ | xyz(5.0552, 2.6100, 22.0627) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.36
Midnight Blue
#191970
ΔE00 3.35
Darkblue
#00008B
ΔE00 4.10
Navy
#000080
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.67
Dark Royal Blue
#02066F
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1884 #7D8418
analogous
#184784 #1F1884 #551884
triadic
#1F1884 #841F18 #18841F
tetradic
#1F1884 #841847 #7D8418 #188455
square
#1F1884 #841847 #7D8418 #188455
split-complementary
#1F1884 #845518 #478418
monochromatic
#07051C #130F50 #1F1884 #2B21B8 #453BDB
Accessibility & contrast
On white
13.80
#1F1884 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1F1884 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1884
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1884 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1884 | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1f1884; /* rgb */ color: rgb(31, 24, 132); /* oklch */ color: oklch(31.4% 0.169 273.6);
Tailwind
colors: {
custom: {
50: '#6d58a9',
500: '#1f1884',
950: '#000000',
},
}SCSS
$custom: #1f1884; $custom-light: #6d58a9; $custom-dark: #000000;
JSON
{
"hex": "#1f1884",
"rgb": {
"r": 31,
"g": 24,
"b": 132
},
"hsl": {
"h": 243.889,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.31404,
"c": 0.16855,
"h": 273.6
},
"luminance": 0.02611
}Semantic roles & 50–950 ramp
primary
#1F1884
secondary
#B0B840
accent
#EC3CE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F