#1A2B7E#1A2B7E
#1A2B7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.141 H 268.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2B7E |
|---|---|
| RGB | rgb(26, 43, 126) |
| HSL | hsl(230, 66%, 30%) |
| HSV | hsv(230, 79%, 49%) |
| CMYK | cmyk(79.4%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(21.77, 25.20, -48.82) |
| CIE-LCH | lch(21.77, 54.94, 297.31°) |
| OKLab | oklab(33.55% -0.0039 -0.1412) |
| OKLCH | oklch(33.55% 0.141 268.4) |
| XYZ | xyz(5.0545, 3.4532, 20.1348) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.37
Royal
#0C1793
ΔE00 6.62
Marine
#042E60
ΔE00 6.74
Sapphire (survey)
#2138AB
ΔE00 7.15
Darkslateblue
#483D8B
ΔE00 7.78
Marine Blue
#01386A
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2B7E #7E6D1A
analogous
#1A5D7E #1A2B7E #3B1A7E
triadic
#1A2B7E #7E1A2B #2B7E1A
tetradic
#1A2B7E #7E1A5D #7E6D1A #1A7E3B
square
#1A2B7E #7E1A5D #7E6D1A #1A7E3B
split-complementary
#1A2B7E #7E3B1A #5D7E1A
monochromatic
#050919 #101A4B #1A2B7E #243CB1 #3C56D7
Accessibility & contrast
On white
12.42
#1A2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1A2B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2B7E
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2B7E | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1a2b7e; /* rgb */ color: rgb(26, 43, 126); /* oklch */ color: oklch(33.6% 0.141 268.4);
Tailwind
colors: {
custom: {
50: '#6864a4',
500: '#1a2b7e',
950: '#000000',
},
}SCSS
$custom: #1a2b7e; $custom-light: #6864a4; $custom-dark: #000000;
JSON
{
"hex": "#1a2b7e",
"rgb": {
"r": 26,
"g": 43,
"b": 126
},
"hsl": {
"h": 229.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.3355,
"c": 0.14124,
"h": 268.4
},
"luminance": 0.03454
}Semantic roles & 50–950 ramp
primary
#1A2B7E
secondary
#B29F42
accent
#CC3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F