#1F1685#1F1685
#1F1685 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.171 H 273.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1685 |
|---|---|
| RGB | rgb(31, 22, 133) |
| HSL | hsl(245, 72%, 30%) |
| HSV | hsv(245, 83%, 52%) |
| CMYK | cmyk(76.7%, 83.5%, 0%, 47.8%) |
| CIE-LAB | lab(18.18, 41.07, -59.16) |
| CIE-LCH | lch(18.18, 72.01, 304.77°) |
| OKLab | oklab(31.28% 0.0111 -0.1711) |
| OKLCH | oklch(31.28% 0.171 273.7) |
| XYZ | xyz(5.0842, 2.5581, 22.4116) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.23
Midnight Blue
#191970
ΔE00 3.63
Darkblue
#00008B
ΔE00 3.68
Navy
#000080
ΔE00 3.97
Indigo (survey)
#380282
ΔE00 4.34
Deep Blue
#040273
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1685 #7C8516
analogous
#164485 #1F1685 #561685
triadic
#1F1685 #851F16 #16851F
tetradic
#1F1685 #851644 #7C8516 #168556
square
#1F1685 #851644 #7C8516 #168556
split-complementary
#1F1685 #855616 #448516
monochromatic
#07051C #130D50 #1F1685 #2B1FBA #4537DE
Accessibility & contrast
On white
13.89
#1F1685 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1F1685 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1685
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1685 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1685 | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003188
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1f1685; /* rgb */ color: rgb(31, 22, 133); /* oklch */ color: oklch(31.3% 0.171 273.7);
Tailwind
colors: {
custom: {
50: '#6e57aa',
500: '#1f1685',
950: '#000000',
},
}SCSS
$custom: #1f1685; $custom-light: #6e57aa; $custom-dark: #000000;
JSON
{
"hex": "#1f1685",
"rgb": {
"r": 31,
"g": 22,
"b": 133
},
"hsl": {
"h": 244.865,
"s": 71.613,
"l": 30.392
},
"oklch": {
"l": 0.31279,
"c": 0.17147,
"h": 273.7
},
"luminance": 0.02559
}Semantic roles & 50–950 ramp
primary
#1F1685
secondary
#AFB93E
accent
#EE39E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F