#1F1D85#1F1D85
#1F1D85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.165 H 272.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1D85 |
|---|---|
| RGB | rgb(31, 29, 133) |
| HSL | hsl(241, 64%, 32%) |
| HSV | hsv(241, 78%, 52%) |
| CMYK | cmyk(76.7%, 78.2%, 0%, 47.8%) |
| CIE-LAB | lab(19.49, 37.30, -56.99) |
| CIE-LCH | lch(19.49, 68.11, 303.20°) |
| OKLab | oklab(32.19% 0.0084 -0.1649) |
| OKLCH | oklch(32.19% 0.165 272.9) |
| XYZ | xyz(5.2367, 2.8629, 22.4624) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.58
Midnight Blue
#191970
ΔE00 3.37
Darkblue
#00008B
ΔE00 5.13
Navy
#000080
ΔE00 5.41
Cobalt Blue
#030AA7
ΔE00 5.52
Indigo (survey)
#380282
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1D85 #83851D
analogous
#1D4F85 #1F1D85 #531D85
triadic
#1F1D85 #851F1D #1D851F
tetradic
#1F1D85 #851D4F #83851D #1D8553
square
#1F1D85 #851D4F #83851D #1D8553
split-complementary
#1F1D85 #85531D #4F851D
monochromatic
#080721 #131253 #1F1D85 #2B28B7 #4946D7
Accessibility & contrast
On white
13.35
#1F1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1F1D85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1D85
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1D85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1D85 | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f1d85; /* rgb */ color: rgb(31, 29, 133); /* oklch */ color: oklch(32.2% 0.165 272.9);
Tailwind
colors: {
custom: {
50: '#6d5baa',
500: '#1f1d85',
950: '#000000',
},
}SCSS
$custom: #1f1d85; $custom-light: #6d5baa; $custom-dark: #000000;
JSON
{
"hex": "#1f1d85",
"rgb": {
"r": 31,
"g": 29,
"b": 133
},
"hsl": {
"h": 241.154,
"s": 64.198,
"l": 31.765
},
"oklch": {
"l": 0.32194,
"c": 0.16514,
"h": 272.9
},
"luminance": 0.02863
}Semantic roles & 50–950 ramp
primary
#1F1D85
secondary
#B6B846
accent
#E741E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F