#1A2A79#1A2A79
#1A2A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.135 H 268.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2A79 |
|---|---|
| RGB | rgb(26, 42, 121) |
| HSL | hsl(230, 65%, 29%) |
| HSV | hsv(230, 79%, 47%) |
| CMYK | cmyk(78.5%, 65.3%, 0%, 52.5%) |
| CIE-LAB | lab(21.04, 23.92, -46.84) |
| CIE-LCH | lch(21.04, 52.60, 297.05°) |
| OKLab | oklab(32.86% -0.0031 -0.1354) |
| OKLCH | oklch(32.86% 0.135 268.7) |
| XYZ | xyz(4.7040, 3.2555, 18.4659) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.07
Marine
#042E60
ΔE00 6.32
Royal
#0C1793
ΔE00 7.00
Sapphire (survey)
#2138AB
ΔE00 7.92
Marine Blue
#01386A
ΔE00 8.03
Darkslateblue
#483D8B
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2A79 #79691A
analogous
#1A5A79 #1A2A79 #3A1A79
triadic
#1A2A79 #791A2A #2A791A
tetradic
#1A2A79 #791A5A #79691A #1A793A
square
#1A2A79 #791A5A #79691A #1A793A
split-complementary
#1A2A79 #793A1A #5A791A
monochromatic
#050919 #0F1947 #1A2A79 #253BAB #3953D4
Accessibility & contrast
On white
12.72
#1A2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1A2A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2A79
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2A79 | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1a2a79; /* rgb */ color: rgb(26, 42, 121); /* oklch */ color: oklch(32.9% 0.135 268.7);
Tailwind
colors: {
custom: {
50: '#6763a0',
500: '#1a2a79',
950: '#000000',
},
}SCSS
$custom: #1a2a79; $custom-light: #6763a0; $custom-dark: #000000;
JSON
{
"hex": "#1a2a79",
"rgb": {
"r": 26,
"g": 42,
"b": 121
},
"hsl": {
"h": 229.895,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.32864,
"c": 0.13547,
"h": 268.7
},
"luminance": 0.03256
}Semantic roles & 50–950 ramp
primary
#1A2A79
secondary
#AD9B41
accent
#CB40E8
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F