#1A297B#1A297B
#1A297B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.140 H 269.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1A297B |
|---|---|
| RGB | rgb(26, 41, 123) |
| HSL | hsl(231, 65%, 29%) |
| HSV | hsv(231, 79%, 48%) |
| CMYK | cmyk(78.9%, 66.7%, 0%, 51.8%) |
| CIE-LAB | lab(20.96, 25.41, -48.24) |
| CIE-LCH | lch(20.96, 54.53, 297.77°) |
| OKLab | oklab(32.87% -0.0025 -0.1395) |
| OKLCH | oklch(32.87% 0.14 269) |
| XYZ | xyz(4.7929, 3.2350, 19.1069) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.72
Royal
#0C1793
ΔE00 6.44
Marine
#042E60
ΔE00 6.81
Sapphire (survey)
#2138AB
ΔE00 7.74
Darkslateblue
#483D8B
ΔE00 8.09
Marine Blue
#01386A
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A297B #7B6C1A
analogous
#1A5A7B #1A297B #3C1A7B
triadic
#1A297B #7B1A29 #297B1A
tetradic
#1A297B #7B1A5A #7B6C1A #1A7B3C
square
#1A297B #7B1A5A #7B6C1A #1A7B3C
split-complementary
#1A297B #7B3C1A #5A7B1A
monochromatic
#050819 #0F1848 #1A297B #253AAE #3A52D5
Accessibility & contrast
On white
12.75
#1A297B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1A297B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A297B
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A297B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A297B | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a297b; /* rgb */ color: rgb(26, 41, 123); /* oklch */ color: oklch(32.9% 0.140 269.0);
Tailwind
colors: {
custom: {
50: '#6862a2',
500: '#1a297b',
950: '#000000',
},
}SCSS
$custom: #1a297b; $custom-light: #6862a2; $custom-dark: #000000;
JSON
{
"hex": "#1a297b",
"rgb": {
"r": 26,
"g": 41,
"b": 123
},
"hsl": {
"h": 230.722,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.32865,
"c": 0.13956,
"h": 269
},
"luminance": 0.03236
}Semantic roles & 50–950 ramp
primary
#1A297B
secondary
#AF9E42
accent
#CE40E8
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F