#1A2C77#1A2C77
#1A2C77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.130 H 268.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2C77 |
|---|---|
| RGB | rgb(26, 44, 119) |
| HSL | hsl(228, 64%, 28%) |
| HSV | hsv(228, 78%, 47%) |
| CMYK | cmyk(78.2%, 63%, 0%, 53.3%) |
| CIE-LAB | lab(21.40, 21.72, -44.97) |
| CIE-LCH | lch(21.40, 49.94, 295.78°) |
| OKLab | oklab(33.08% -0.0045 -0.1299) |
| OKLCH | oklch(33.08% 0.13 268) |
| XYZ | xyz(4.6553, 3.3524, 17.8509) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.58
Midnight Blue
#191970
ΔE00 5.82
Marine Blue
#01386A
ΔE00 7.26
Royal
#0C1793
ΔE00 7.84
Darkslateblue
#483D8B
ΔE00 8.03
Sapphire (survey)
#2138AB
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2C77 #77651A
analogous
#1A5A77 #1A2C77 #361A77
triadic
#1A2C77 #771A2C #2C771A
tetradic
#1A2C77 #771A5A #77651A #1A7736
square
#1A2C77 #771A5A #77651A #1A7736
split-complementary
#1A2C77 #77361A #5A771A
monochromatic
#050919 #0F1945 #1A2C77 #253FA9 #3856D3
Accessibility & contrast
On white
12.57
#1A2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1A2C77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2C77
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2C77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2C77 | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1a2c77; /* rgb */ color: rgb(26, 44, 119); /* oklch */ color: oklch(33.1% 0.130 268.0);
Tailwind
colors: {
custom: {
50: '#66649f',
500: '#1a2c77',
950: '#000000',
},
}SCSS
$custom: #1a2c77; $custom-light: #66649f; $custom-dark: #000000;
JSON
{
"hex": "#1a2c77",
"rgb": {
"r": 26,
"g": 44,
"b": 119
},
"hsl": {
"h": 228.387,
"s": 64.138,
"l": 28.431
},
"oklch": {
"l": 0.33077,
"c": 0.13,
"h": 268
},
"luminance": 0.03353
}Semantic roles & 50–950 ramp
primary
#1A2C77
secondary
#AC9741
accent
#C741E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E