#1A1580#1A1580
#1A1580 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.168 H 272.1°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1580 |
|---|---|
| RGB | rgb(26, 21, 128) |
| HSL | hsl(243, 72%, 29%) |
| HSV | hsv(243, 84%, 50%) |
| CMYK | cmyk(79.7%, 83.6%, 0%, 49.8%) |
| CIE-LAB | lab(17.06, 39.59, -57.86) |
| CIE-LCH | lch(17.06, 70.11, 304.38°) |
| OKLab | oklab(30.23% 0.0062 -0.1674) |
| OKLCH | oklch(30.23% 0.168 272.1) |
| XYZ | xyz(4.5891, 2.3140, 20.6227) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.79
Midnight Blue
#191970
ΔE00 2.93
Navy
#000080
ΔE00 3.64
Darkblue
#00008B
ΔE00 3.68
Dark Royal Blue
#02066F
ΔE00 3.88
Deep Blue
#040273
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1580 #7B8015
analogous
#154680 #1A1580 #501580
triadic
#1A1580 #801A15 #15801A
tetradic
#1A1580 #801546 #7B8015 #158050
square
#1A1580 #801546 #7B8015 #158050
split-complementary
#1A1580 #805015 #468015
monochromatic
#05041A #0F0C4B #1A1580 #251EB5 #3A32DD
Accessibility & contrast
On white
14.36
#1A1580 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1A1580 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1580
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1580 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1580 | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1a1580; /* rgb */ color: rgb(26, 21, 128); /* oklch */ color: oklch(30.2% 0.168 272.1);
Tailwind
colors: {
custom: {
50: '#6b56a6',
500: '#1a1580',
950: '#000000',
},
}SCSS
$custom: #1a1580; $custom-light: #6b56a6; $custom-dark: #000000;
JSON
{
"hex": "#1a1580",
"rgb": {
"r": 26,
"g": 21,
"b": 128
},
"hsl": {
"h": 242.804,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.30232,
"c": 0.16756,
"h": 272.1
},
"luminance": 0.02314
}Semantic roles & 50–950 ramp
primary
#1A1580
secondary
#AFB53C
accent
#EF39E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F