#1A2C79#1A2C79
#1A2C79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.133 H 268.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2C79 |
|---|---|
| RGB | rgb(26, 44, 121) |
| HSL | hsl(229, 65%, 29%) |
| HSV | hsv(229, 79%, 47%) |
| CMYK | cmyk(78.5%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(21.58, 22.52, -45.96) |
| CIE-LCH | lch(21.58, 51.18, 296.11°) |
| OKLab | oklab(33.27% -0.0045 -0.1328) |
| OKLCH | oklch(33.27% 0.133 268.1) |
| XYZ | xyz(4.7767, 3.4009, 18.4902) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.75
Marine
#042E60
ΔE00 5.85
Marine Blue
#01386A
ΔE00 7.41
Royal
#0C1793
ΔE00 7.57
Sapphire (survey)
#2138AB
ΔE00 7.78
Darkslateblue
#483D8B
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2C79 #79671A
analogous
#1A5C79 #1A2C79 #381A79
triadic
#1A2C79 #791A2C #2C791A
tetradic
#1A2C79 #791A5C #79671A #1A7938
square
#1A2C79 #791A5C #79671A #1A7938
split-complementary
#1A2C79 #79381A #5C791A
monochromatic
#050919 #0F1A47 #1A2C79 #253EAB #3956D4
Accessibility & contrast
On white
12.50
#1A2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1A2C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2C79
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2C79 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1a2c79; /* rgb */ color: rgb(26, 44, 121); /* oklch */ color: oklch(33.3% 0.133 268.1);
Tailwind
colors: {
custom: {
50: '#6764a0',
500: '#1a2c79',
950: '#000000',
},
}SCSS
$custom: #1a2c79; $custom-light: #6764a0; $custom-dark: #000000;
JSON
{
"hex": "#1a2c79",
"rgb": {
"r": 26,
"g": 44,
"b": 121
},
"hsl": {
"h": 228.632,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.33266,
"c": 0.13288,
"h": 268.1
},
"luminance": 0.03401
}Semantic roles & 50–950 ramp
primary
#1A2C79
secondary
#AD9941
accent
#C840E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F