#1F1B85#1F1B85
#1F1B85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.167 H 273.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1B85 |
|---|---|
| RGB | rgb(31, 27, 133) |
| HSL | hsl(242, 66%, 31%) |
| HSV | hsv(242, 80%, 52%) |
| CMYK | cmyk(76.7%, 79.7%, 0%, 47.8%) |
| CIE-LAB | lab(19.09, 38.43, -57.65) |
| CIE-LCH | lch(19.09, 69.28, 303.69°) |
| OKLab | oklab(31.92% 0.0092 -0.1668) |
| OKLCH | oklch(31.92% 0.167 273.2) |
| XYZ | xyz(5.1892, 2.7681, 22.4466) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.37
Midnight Blue
#191970
ΔE00 3.37
Darkblue
#00008B
ΔE00 4.68
Navy
#000080
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.21
Cobalt Blue
#030AA7
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1B85 #81851B
analogous
#1B4C85 #1F1B85 #541B85
triadic
#1F1B85 #851F1B #1B851F
tetradic
#1F1B85 #851B4C #81851B #1B8554
square
#1F1B85 #851B4C #81851B #1B8554
split-complementary
#1F1B85 #85541B #4C851B
monochromatic
#07061F #131152 #1F1B85 #2B25B8 #4742D9
Accessibility & contrast
On white
13.52
#1F1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1F1B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1B85
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1B85 | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f1b85; /* rgb */ color: rgb(31, 27, 133); /* oklch */ color: oklch(31.9% 0.167 273.2);
Tailwind
colors: {
custom: {
50: '#6d5aaa',
500: '#1f1b85',
950: '#000000',
},
}SCSS
$custom: #1f1b85; $custom-light: #6d5aaa; $custom-dark: #000000;
JSON
{
"hex": "#1f1b85",
"rgb": {
"r": 31,
"g": 27,
"b": 133
},
"hsl": {
"h": 242.264,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.31915,
"c": 0.16707,
"h": 273.2
},
"luminance": 0.02769
}Semantic roles & 50–950 ramp
primary
#1F1B85
secondary
#B4B844
accent
#E93FE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F