#1A277E#1A277E
#1A277E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.146 H 269.4°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1A277E |
|---|---|
| RGB | rgb(26, 39, 126) |
| HSL | hsl(232, 66%, 30%) |
| HSV | hsv(232, 79%, 49%) |
| CMYK | cmyk(79.4%, 69%, 0%, 50.6%) |
| CIE-LAB | lab(20.74, 27.94, -50.52) |
| CIE-LCH | lch(20.74, 57.73, 298.95°) |
| OKLab | oklab(32.79% -0.0015 -0.1462) |
| OKLCH | oklch(32.79% 0.146 269.4) |
| XYZ | xyz(4.9161, 3.1765, 20.0886) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.18
Royal
#0C1793
ΔE00 5.51
Sapphire (survey)
#2138AB
ΔE00 7.60
Marine
#042E60
ΔE00 7.65
Dark Royal Blue
#02066F
ΔE00 7.89
Darkslateblue
#483D8B
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A277E #7E711A
analogous
#1A597E #1A277E #3F1A7E
triadic
#1A277E #7E1A27 #277E1A
tetradic
#1A277E #7E1A59 #7E711A #1A7E3F
square
#1A277E #7E1A59 #7E711A #1A7E3F
split-complementary
#1A277E #7E3F1A #597E1A
monochromatic
#050819 #10174B #1A277E #2437B1 #3C50D7
Accessibility & contrast
On white
12.84
#1A277E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1A277E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A277E
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A277E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A277E | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a277e; /* rgb */ color: rgb(26, 39, 126); /* oklch */ color: oklch(32.8% 0.146 269.4);
Tailwind
colors: {
custom: {
50: '#6961a4',
500: '#1a277e',
950: '#000000',
},
}SCSS
$custom: #1a277e; $custom-light: #6961a4; $custom-dark: #000000;
JSON
{
"hex": "#1a277e",
"rgb": {
"r": 26,
"g": 39,
"b": 126
},
"hsl": {
"h": 232.2,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.3279,
"c": 0.14621,
"h": 269.4
},
"luminance": 0.03177
}Semantic roles & 50–950 ramp
primary
#1A277E
secondary
#B2A342
accent
#D33FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F