#1F1E85#1F1E85
#1F1E85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.164 H 272.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1E85 |
|---|---|
| RGB | rgb(31, 30, 133) |
| HSL | hsl(241, 63%, 32%) |
| HSV | hsv(241, 77%, 52%) |
| CMYK | cmyk(76.7%, 77.4%, 0%, 47.8%) |
| CIE-LAB | lab(19.69, 36.72, -56.65) |
| CIE-LCH | lch(19.69, 67.51, 302.95°) |
| OKLab | oklab(32.34% 0.0079 -0.164) |
| OKLCH | oklch(32.34% 0.164 272.8) |
| XYZ | xyz(5.2616, 2.9128, 22.4707) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.72
Midnight Blue
#191970
ΔE00 3.39
Darkblue
#00008B
ΔE00 5.36
Navy
#000080
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1E85 #84851E
analogous
#1E5085 #1F1E85 #531E85
triadic
#1F1E85 #851F1E #1E851F
tetradic
#1F1E85 #851E50 #84851E #1E8553
square
#1F1E85 #851E50 #84851E #1E8553
split-complementary
#1F1E85 #85531E #50851E
monochromatic
#080721 #131353 #1F1E85 #2B29B7 #4948D6
Accessibility & contrast
On white
13.27
#1F1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1F1E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1E85
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1E85 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f1e85; /* rgb */ color: rgb(31, 30, 133); /* oklch */ color: oklch(32.3% 0.164 272.8);
Tailwind
colors: {
custom: {
50: '#6d5baa',
500: '#1f1e85',
950: '#000000',
},
}SCSS
$custom: #1f1e85; $custom-light: #6d5baa; $custom-dark: #000000;
JSON
{
"hex": "#1f1e85",
"rgb": {
"r": 31,
"g": 30,
"b": 133
},
"hsl": {
"h": 240.583,
"s": 63.19,
"l": 31.961
},
"oklch": {
"l": 0.32338,
"c": 0.16414,
"h": 272.8
},
"luminance": 0.02913
}Semantic roles & 50–950 ramp
primary
#1F1E85
secondary
#B7B847
accent
#E642E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F