#1F1590#1F1590
#1F1590 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.185 H 272.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1590 |
|---|---|
| RGB | rgb(31, 21, 144) |
| HSL | hsl(245, 75%, 32%) |
| HSV | hsv(245, 85%, 56%) |
| CMYK | cmyk(78.5%, 85.4%, 0%, 43.5%) |
| CIE-LAB | lab(19.39, 45.03, -64.03) |
| CIE-LCH | lch(19.39, 78.28, 305.12°) |
| OKLab | oklab(32.52% 0.0084 -0.1852) |
| OKLCH | oklch(32.52% 0.185 272.6) |
| XYZ | xyz(5.8656, 2.8406, 26.6193) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.28
Cobalt Blue
#030AA7
ΔE00 3.30
Darkblue
#00008B
ΔE00 3.49
Royal Blue (survey)
#0504AA
ΔE00 3.80
Navy
#000080
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1590 #869015
analogous
#154990 #1F1590 #5D1590
triadic
#1F1590 #901F15 #15901F
tetradic
#1F1590 #901549 #869015 #15905D
square
#1F1590 #901549 #869015 #15905D
split-complementary
#1F1590 #905D15 #499015
monochromatic
#080525 #140D5B #1F1590 #2A1DC5 #4A3DE3
Accessibility & contrast
On white
13.39
#1F1590 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1F1590 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1590
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1590 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1590 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f1590; /* rgb */ color: rgb(31, 21, 144); /* oklch */ color: oklch(32.5% 0.185 272.6);
Tailwind
colors: {
custom: {
50: '#7157b2',
500: '#1f1590',
950: '#000000',
},
}SCSS
$custom: #1f1590; $custom-light: #7157b2; $custom-dark: #000000;
JSON
{
"hex": "#1f1590",
"rgb": {
"r": 31,
"g": 21,
"b": 144
},
"hsl": {
"h": 244.878,
"s": 74.545,
"l": 32.353
},
"oklch": {
"l": 0.32515,
"c": 0.18541,
"h": 272.6
},
"luminance": 0.02841
}Semantic roles & 50–950 ramp
primary
#1F1590
secondary
#B8C23E
accent
#F137E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880