#1A2B82#1A2B82
#1A2B82 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.147 H 268.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2B82 |
|---|---|
| RGB | rgb(26, 43, 130) |
| HSL | hsl(230, 67%, 31%) |
| HSV | hsv(230, 80%, 51%) |
| CMYK | cmyk(80%, 66.9%, 0%, 49%) |
| CIE-LAB | lab(22.15, 26.77, -50.72) |
| CIE-LCH | lch(22.15, 57.35, 297.83°) |
| OKLab | oklab(33.95% -0.0041 -0.1468) |
| OKLCH | oklch(33.95% 0.147 268.4) |
| XYZ | xyz(5.3177, 3.5585, 21.5214) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.45
Royal
#0C1793
ΔE00 6.16
Sapphire (survey)
#2138AB
ΔE00 6.61
Marine
#042E60
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.67
Blueberry
#464196
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2B82 #82711A
analogous
#1A5F82 #1A2B82 #3D1A82
triadic
#1A2B82 #821A2B #2B821A
tetradic
#1A2B82 #821A5F #82711A #1A823D
square
#1A2B82 #821A5F #82711A #1A823D
split-complementary
#1A2B82 #823D1A #5F821A
monochromatic
#06091C #101A4F #1A2B82 #243CB5 #3E57D8
Accessibility & contrast
On white
12.27
#1A2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1A2B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2B82
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2B82 | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1a2b82; /* rgb */ color: rgb(26, 43, 130); /* oklch */ color: oklch(33.9% 0.147 268.4);
Tailwind
colors: {
custom: {
50: '#6964a7',
500: '#1a2b82',
950: '#000000',
},
}SCSS
$custom: #1a2b82; $custom-light: #6964a7; $custom-dark: #000000;
JSON
{
"hex": "#1a2b82",
"rgb": {
"r": 26,
"g": 43,
"b": 130
},
"hsl": {
"h": 230.192,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.33946,
"c": 0.14682,
"h": 268.4
},
"luminance": 0.03559
}Semantic roles & 50–950 ramp
primary
#1A2B82
secondary
#B6A342
accent
#CE3EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F