#1F1F85#1F1F85
#1F1F85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.163 H 272.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1F85 |
|---|---|
| RGB | rgb(31, 31, 133) |
| HSL | hsl(240, 62%, 32%) |
| HSV | hsv(240, 77%, 52%) |
| CMYK | cmyk(76.7%, 76.7%, 0%, 47.8%) |
| CIE-LAB | lab(19.90, 36.13, -56.31) |
| CIE-LCH | lch(19.90, 66.90, 302.68°) |
| OKLab | oklab(32.49% 0.0075 -0.163) |
| OKLCH | oklch(32.49% 0.163 272.6) |
| XYZ | xyz(5.2873, 2.9642, 22.4792) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.87
Midnight Blue
#191970
ΔE00 3.44
Darkblue
#00008B
ΔE00 5.61
Cobalt Blue
#030AA7
ΔE00 5.81
Navy
#000080
ΔE00 5.88
Dark Royal Blue
#02066F
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1F85 #85851F
analogous
#1F5285 #1F1F85 #521F85
triadic
#1F1F85 #851F1F #1F851F
tetradic
#1F1F85 #851F52 #85851F #1F8552
square
#1F1F85 #851F52 #85851F #1F8552
split-complementary
#1F1F85 #85521F #52851F
monochromatic
#080822 #131353 #1F1F85 #2B2BB7 #4A4AD5
Accessibility & contrast
On white
13.18
#1F1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1F1F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1F85
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1F85 | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f1f85; /* rgb */ color: rgb(31, 31, 133); /* oklch */ color: oklch(32.5% 0.163 272.6);
Tailwind
colors: {
custom: {
50: '#6d5caa',
500: '#1f1f85',
950: '#000000',
},
}SCSS
$custom: #1f1f85; $custom-light: #6d5caa; $custom-dark: #000000;
JSON
{
"hex": "#1f1f85",
"rgb": {
"r": 31,
"g": 31,
"b": 133
},
"hsl": {
"h": 240,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.32486,
"c": 0.16313,
"h": 272.6
},
"luminance": 0.02965
}Semantic roles & 50–950 ramp
primary
#1F1F85
secondary
#B7B749
accent
#E543E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F