#1A2A78#1A2A78
#1A2A78 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.134 H 268.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2A78 |
|---|---|
| RGB | rgb(26, 42, 120) |
| HSL | hsl(230, 64%, 29%) |
| HSV | hsv(230, 78%, 47%) |
| CMYK | cmyk(78.3%, 65%, 0%, 52.9%) |
| CIE-LAB | lab(20.95, 23.53, -46.36) |
| CIE-LCH | lch(20.95, 51.99, 296.91°) |
| OKLab | oklab(32.77% -0.0031 -0.134) |
| OKLCH | oklch(32.77% 0.134 268.7) |
| XYZ | xyz(4.6430, 3.2311, 18.1446) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.09
Marine
#042E60
ΔE00 6.19
Royal
#0C1793
ΔE00 7.14
Marine Blue
#01386A
ΔE00 7.96
Sapphire (survey)
#2138AB
ΔE00 8.07
Darkslateblue
#483D8B
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2A78 #78681A
analogous
#1A5978 #1A2A78 #391A78
triadic
#1A2A78 #781A2A #2A781A
tetradic
#1A2A78 #781A59 #78681A #1A7839
square
#1A2A78 #781A59 #78681A #1A7839
split-complementary
#1A2A78 #78391A #59781A
monochromatic
#050919 #0F1846 #1A2A78 #253CAA #3853D4
Accessibility & contrast
On white
12.76
#1A2A78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1A2A78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2A78
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2A78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2A78 | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a2a78; /* rgb */ color: rgb(26, 42, 120); /* oklch */ color: oklch(32.8% 0.134 268.7);
Tailwind
colors: {
custom: {
50: '#6763a0',
500: '#1a2a78',
950: '#000000',
},
}SCSS
$custom: #1a2a78; $custom-light: #6763a0; $custom-dark: #000000;
JSON
{
"hex": "#1a2a78",
"rgb": {
"r": 26,
"g": 42,
"b": 120
},
"hsl": {
"h": 229.787,
"s": 64.384,
"l": 28.627
},
"oklch": {
"l": 0.32767,
"c": 0.13404,
"h": 268.7
},
"luminance": 0.03232
}Semantic roles & 50–950 ramp
primary
#1A2A78
secondary
#AC9A41
accent
#CB40E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E