#1A297C#1A297C
#1A297C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.141 H 269.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1A297C |
|---|---|
| RGB | rgb(26, 41, 124) |
| HSL | hsl(231, 65%, 29%) |
| HSV | hsv(231, 79%, 49%) |
| CMYK | cmyk(79%, 66.9%, 0%, 51.4%) |
| CIE-LAB | lab(21.06, 25.80, -48.72) |
| CIE-LCH | lch(21.06, 55.13, 297.90°) |
| OKLab | oklab(32.97% -0.0026 -0.1409) |
| OKLCH | oklch(32.97% 0.141 269) |
| XYZ | xyz(4.8558, 3.2602, 19.4382) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.73
Royal
#0C1793
ΔE00 6.31
Marine
#042E60
ΔE00 6.94
Sapphire (survey)
#2138AB
ΔE00 7.61
Darkslateblue
#483D8B
ΔE00 8.06
Dark Royal Blue
#02066F
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A297C #7C6D1A
analogous
#1A5A7C #1A297C #3C1A7C
triadic
#1A297C #7C1A29 #297C1A
tetradic
#1A297C #7C1A5A #7C6D1A #1A7C3C
square
#1A297C #7C1A5A #7C6D1A #1A7C3C
split-complementary
#1A297C #7C3C1A #5A7C1A
monochromatic
#050819 #0F1849 #1A297C #253AAF #3B52D6
Accessibility & contrast
On white
12.71
#1A297C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1A297C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A297C
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A297C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A297C | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1a297c; /* rgb */ color: rgb(26, 41, 124); /* oklch */ color: oklch(33.0% 0.141 269.0);
Tailwind
colors: {
custom: {
50: '#6862a3',
500: '#1a297c',
950: '#000000',
},
}SCSS
$custom: #1a297c; $custom-light: #6862a3; $custom-dark: #000000;
JSON
{
"hex": "#1a297c",
"rgb": {
"r": 26,
"g": 41,
"b": 124
},
"hsl": {
"h": 230.816,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.32965,
"c": 0.14096,
"h": 269
},
"luminance": 0.03261
}Semantic roles & 50–950 ramp
primary
#1A297C
secondary
#B09F42
accent
#CE40E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F