#1A1589#1A1589
#1A1589 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.178 H 271.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1589 |
|---|---|
| RGB | rgb(26, 21, 137) |
| HSL | hsl(243, 73%, 31%) |
| HSV | hsv(243, 85%, 54%) |
| CMYK | cmyk(81%, 84.7%, 0%, 46.3%) |
| CIE-LAB | lab(18.19, 42.52, -61.66) |
| CIE-LCH | lch(18.19, 74.90, 304.59°) |
| OKLab | oklab(31.35% 0.0039 -0.1784) |
| OKLCH | oklch(31.35% 0.178 271.3) |
| XYZ | xyz(5.2080, 2.5615, 23.8820) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.59
Darkblue
#00008B
ΔE00 3.28
Navy
#000080
ΔE00 3.81
Midnight Blue
#191970
ΔE00 4.17
Cobalt Blue
#030AA7
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1589 #848915
analogous
#154A89 #1A1589 #541589
triadic
#1A1589 #891A15 #15891A
tetradic
#1A1589 #89154A #848915 #158954
square
#1A1589 #89154A #848915 #158954
split-complementary
#1A1589 #895415 #4A8915
monochromatic
#06051F #100D54 #1A1589 #241DBE #3F38E0
Accessibility & contrast
On white
13.89
#1A1589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1A1589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1589
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1589 | 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)
#00328C
Deuteranopia (green-blind)
#002687
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a1589; /* rgb */ color: rgb(26, 21, 137); /* oklch */ color: oklch(31.3% 0.178 271.3);
Tailwind
colors: {
custom: {
50: '#6d56ad',
500: '#1a1589',
950: '#000000',
},
}SCSS
$custom: #1a1589; $custom-light: #6d56ad; $custom-dark: #000000;
JSON
{
"hex": "#1a1589",
"rgb": {
"r": 26,
"g": 21,
"b": 137
},
"hsl": {
"h": 242.586,
"s": 73.418,
"l": 30.98
},
"oklch": {
"l": 0.31349,
"c": 0.17847,
"h": 271.3
},
"luminance": 0.02562
}Semantic roles & 50–950 ramp
primary
#1A1589
secondary
#B8BD3D
accent
#F038E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F