#1A2A82#1A2A82
#1A2A82 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.148 H 268.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2A82 |
|---|---|
| RGB | rgb(26, 42, 130) |
| HSL | hsl(231, 67%, 31%) |
| HSV | hsv(231, 80%, 51%) |
| CMYK | cmyk(80%, 67.7%, 0%, 49%) |
| CIE-LAB | lab(21.90, 27.46, -51.14) |
| CIE-LCH | lch(21.90, 58.05, 298.23°) |
| OKLab | oklab(33.76% -0.0035 -0.148) |
| OKLCH | oklch(33.76% 0.148 268.6) |
| XYZ | xyz(5.2818, 3.4867, 21.5094) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.17
Royal
#0C1793
ΔE00 5.86
Sapphire (survey)
#2138AB
ΔE00 6.73
Marine
#042E60
ΔE00 7.48
Darkslateblue
#483D8B
ΔE00 7.78
Blueberry
#464196
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2A82 #82721A
analogous
#1A5E82 #1A2A82 #3E1A82
triadic
#1A2A82 #821A2A #2A821A
tetradic
#1A2A82 #821A5E #82721A #1A823E
square
#1A2A82 #821A5E #82721A #1A823E
split-complementary
#1A2A82 #823E1A #5E821A
monochromatic
#06091C #101A4F #1A2A82 #243AB5 #3E56D8
Accessibility & contrast
On white
12.37
#1A2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1A2A82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2A82
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2A82 | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1a2a82; /* rgb */ color: rgb(26, 42, 130); /* oklch */ color: oklch(33.8% 0.148 268.6);
Tailwind
colors: {
custom: {
50: '#6963a7',
500: '#1a2a82',
950: '#000000',
},
}SCSS
$custom: #1a2a82; $custom-light: #6963a7; $custom-dark: #000000;
JSON
{
"hex": "#1a2a82",
"rgb": {
"r": 26,
"g": 42,
"b": 130
},
"hsl": {
"h": 230.769,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.33757,
"c": 0.14805,
"h": 268.6
},
"luminance": 0.03487
}Semantic roles & 50–950 ramp
primary
#1A2A82
secondary
#B6A442
accent
#CF3EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F