#1F1B89#1F1B89
#1F1B89 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.172 H 272.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1B89 |
|---|---|
| RGB | rgb(31, 27, 137) |
| HSL | hsl(242, 67%, 32%) |
| HSV | hsv(242, 80%, 54%) |
| CMYK | cmyk(77.4%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(19.56, 39.78, -59.39) |
| CIE-LCH | lch(19.56, 71.48, 303.82°) |
| OKLab | oklab(32.38% 0.0083 -0.1718) |
| OKLCH | oklch(32.38% 0.172 272.8) |
| XYZ | xyz(5.4709, 2.8807, 23.9298) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.89
Midnight Blue
#191970
ΔE00 3.96
Darkblue
#00008B
ΔE00 4.55
Cobalt Blue
#030AA7
ΔE00 4.74
Navy
#000080
ΔE00 5.02
Indigo (survey)
#380282
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1B89 #85891B
analogous
#1B4E89 #1F1B89 #561B89
triadic
#1F1B89 #891F1B #1B891F
tetradic
#1F1B89 #891B4E #85891B #1B8956
square
#1F1B89 #891B4E #85891B #1B8956
split-complementary
#1F1B89 #89561B #4E891B
monochromatic
#080723 #131156 #1F1B89 #2B25BC #4A44DA
Accessibility & contrast
On white
13.32
#1F1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1F1B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1B89
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1B89 | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f1b89; /* rgb */ color: rgb(31, 27, 137); /* oklch */ color: oklch(32.4% 0.172 272.8);
Tailwind
colors: {
custom: {
50: '#6e5aad',
500: '#1f1b89',
950: '#000000',
},
}SCSS
$custom: #1f1b89; $custom-light: #6e5aad; $custom-dark: #000000;
JSON
{
"hex": "#1f1b89",
"rgb": {
"r": 31,
"g": 27,
"b": 137
},
"hsl": {
"h": 242.182,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.32382,
"c": 0.17205,
"h": 272.8
},
"luminance": 0.02881
}Semantic roles & 50–950 ramp
primary
#1F1B89
secondary
#B7BC44
accent
#EA3EE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F