#1A1D82#1A1D82
#1A1D82 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.163 H 271.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1D82 |
|---|---|
| RGB | rgb(26, 29, 130) |
| HSL | hsl(238, 67%, 31%) |
| HSV | hsv(238, 80%, 51%) |
| CMYK | cmyk(80%, 77.7%, 0%, 49%) |
| CIE-LAB | lab(18.84, 35.83, -56.18) |
| CIE-LCH | lch(18.84, 66.63, 302.53°) |
| OKLab | oklab(31.56% 0.0029 -0.1627) |
| OKLCH | oklch(31.56% 0.163 271) |
| XYZ | xyz(4.8933, 2.7095, 21.3799) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.87
Royal
#0C1793
ΔE00 2.91
Darkblue
#00008B
ΔE00 5.27
Dark Royal Blue
#02066F
ΔE00 5.40
Navy
#000080
ΔE00 5.41
Deep Blue
#040273
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1D82 #827F1A
analogous
#1A5182 #1A1D82 #4B1A82
triadic
#1A1D82 #821A1D #1D821A
tetradic
#1A1D82 #821A51 #827F1A #1A824B
square
#1A1D82 #821A51 #827F1A #1A824B
split-complementary
#1A1D82 #824B1A #51821A
monochromatic
#06061C #10124F #1A1D82 #2428B5 #3E42D8
Accessibility & contrast
On white
13.62
#1A1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1A1D82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1D82
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1D82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1D82 | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1a1d82; /* rgb */ color: rgb(26, 29, 130); /* oklch */ color: oklch(31.6% 0.163 271.0);
Tailwind
colors: {
custom: {
50: '#6b5aa7',
500: '#1a1d82',
950: '#000000',
},
}SCSS
$custom: #1a1d82; $custom-light: #6b5aa7; $custom-dark: #000000;
JSON
{
"hex": "#1a1d82",
"rgb": {
"r": 26,
"g": 29,
"b": 130
},
"hsl": {
"h": 238.269,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.31555,
"c": 0.16269,
"h": 271
},
"luminance": 0.0271
}Semantic roles & 50–950 ramp
primary
#1A1D82
secondary
#B6B242
accent
#E53EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F