#1A1280#1A1280
#1A1280 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.170 H 272.4°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1280 |
|---|---|
| RGB | rgb(26, 18, 128) |
| HSL | hsl(244, 75%, 29%) |
| HSV | hsv(244, 86%, 50%) |
| CMYK | cmyk(79.7%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(16.55, 41.06, -58.70) |
| CIE-LCH | lch(16.55, 71.63, 304.97°) |
| OKLab | oklab(29.89% 0.007 -0.1698) |
| OKLCH | oklch(29.89% 0.17 272.4) |
| XYZ | xyz(4.5373, 2.2102, 20.6054) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.92
Navy
#000080
ΔE00 3.08
Darkblue
#00008B
ΔE00 3.17
Midnight Blue
#191970
ΔE00 3.28
Deep Blue
#040273
ΔE00 3.51
Dark Royal Blue
#02066F
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1280 #788012
analogous
#124180 #1A1280 #511280
triadic
#1A1280 #801A12 #12801A
tetradic
#1A1280 #801241 #788012 #128051
square
#1A1280 #801241 #788012 #128051
split-complementary
#1A1280 #805112 #418012
monochromatic
#05041B #0F0A4A #1A1280 #251AB6 #382BE1
Accessibility & contrast
On white
14.56
#1A1280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1A1280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1280
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1280 | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a1280; /* rgb */ color: rgb(26, 18, 128); /* oklch */ color: oklch(29.9% 0.170 272.4);
Tailwind
colors: {
custom: {
50: '#6b54a6',
500: '#1a1280',
950: '#000000',
},
}SCSS
$custom: #1a1280; $custom-light: #6b54a6; $custom-dark: #000000;
JSON
{
"hex": "#1a1280",
"rgb": {
"r": 26,
"g": 18,
"b": 128
},
"hsl": {
"h": 244.364,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.29885,
"c": 0.16995,
"h": 272.4
},
"luminance": 0.02211
}Semantic roles & 50–950 ramp
primary
#1A1280
secondary
#ACB638
accent
#F236E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F