#1A2B84#1A2B84
#1A2B84 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.150 H 268.4°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2B84 |
|---|---|
| RGB | rgb(26, 43, 132) |
| HSL | hsl(230, 67%, 31%) |
| HSV | hsv(230, 80%, 52%) |
| CMYK | cmyk(80.3%, 67.4%, 0%, 48.2%) |
| CIE-LAB | lab(22.35, 27.56, -51.66) |
| CIE-LCH | lch(22.35, 58.55, 298.08°) |
| OKLab | oklab(34.15% -0.0042 -0.1495) |
| OKLCH | oklch(34.15% 0.15 268.4) |
| XYZ | xyz(5.4533, 3.6127, 22.2352) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.53
Royal
#0C1793
ΔE00 5.94
Sapphire (survey)
#2138AB
ΔE00 6.36
Marine
#042E60
ΔE00 7.54
Darkslateblue
#483D8B
ΔE00 7.63
Blueberry
#464196
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2B84 #84731A
analogous
#1A6084 #1A2B84 #3E1A84
triadic
#1A2B84 #841A2B #2B841A
tetradic
#1A2B84 #841A60 #84731A #1A843E
square
#1A2B84 #841A60 #84731A #1A843E
split-complementary
#1A2B84 #843E1A #60841A
monochromatic
#060A1E #101A51 #1A2B84 #243CB7 #3F58D9
Accessibility & contrast
On white
12.19
#1A2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1A2B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2B84
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2B84 | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1a2b84; /* rgb */ color: rgb(26, 43, 132); /* oklch */ color: oklch(34.1% 0.150 268.4);
Tailwind
colors: {
custom: {
50: '#6a64a9',
500: '#1a2b84',
950: '#000000',
},
}SCSS
$custom: #1a2b84; $custom-light: #6a64a9; $custom-dark: #000000;
JSON
{
"hex": "#1a2b84",
"rgb": {
"r": 26,
"g": 43,
"b": 132
},
"hsl": {
"h": 230.377,
"s": 67.089,
"l": 30.98
},
"oklch": {
"l": 0.34147,
"c": 0.14957,
"h": 268.4
},
"luminance": 0.03613
}Semantic roles & 50–950 ramp
primary
#1A2B84
secondary
#B8A542
accent
#CE3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F