#1F1A86#1F1A86
#1F1A86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.169 H 273.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1A86 |
|---|---|
| RGB | rgb(31, 26, 134) |
| HSL | hsl(243, 68%, 31%) |
| HSV | hsv(243, 81%, 53%) |
| CMYK | cmyk(76.9%, 80.6%, 0%, 47.5%) |
| CIE-LAB | lab(19.02, 39.32, -58.40) |
| CIE-LCH | lch(19.02, 70.40, 303.95°) |
| OKLab | oklab(31.9% 0.0094 -0.169) |
| OKLCH | oklch(31.9% 0.169 273.2) |
| XYZ | xyz(5.2361, 2.7508, 22.8046) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.17
Midnight Blue
#191970
ΔE00 3.55
Darkblue
#00008B
ΔE00 4.42
Navy
#000080
ΔE00 4.76
Indigo (survey)
#380282
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1A86 #81861A
analogous
#1A4B86 #1F1A86 #551A86
triadic
#1F1A86 #861F1A #1A861F
tetradic
#1F1A86 #861A4B #81861A #1A8655
square
#1F1A86 #861A4B #81861A #1A8655
split-complementary
#1F1A86 #86551A #4B861A
monochromatic
#07061F #131053 #1F1A86 #2B24B9 #4740DA
Accessibility & contrast
On white
13.55
#1F1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1F1A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1A86
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1A86 | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f1a86; /* rgb */ color: rgb(31, 26, 134); /* oklch */ color: oklch(31.9% 0.169 273.2);
Tailwind
colors: {
custom: {
50: '#6e59aa',
500: '#1f1a86',
950: '#000000',
},
}SCSS
$custom: #1f1a86; $custom-light: #6e59aa; $custom-dark: #000000;
JSON
{
"hex": "#1f1a86",
"rgb": {
"r": 31,
"g": 26,
"b": 134
},
"hsl": {
"h": 242.778,
"s": 67.5,
"l": 31.373
},
"oklch": {
"l": 0.31898,
"c": 0.16923,
"h": 273.2
},
"luminance": 0.02751
}Semantic roles & 50–950 ramp
primary
#1F1A86
secondary
#B4B942
accent
#EA3DE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F