#1A4C97#1A4C97
#1A4C97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.134 H 258.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1A4C97 |
|---|---|
| RGB | rgb(26, 76, 151) |
| HSL | hsl(216, 71%, 35%) |
| HSV | hsv(216, 83%, 59%) |
| CMYK | cmyk(82.8%, 49.7%, 0%, 40.8%) |
| CIE-LAB | lab(33.18, 12.43, -45.76) |
| CIE-LCH | lch(33.18, 47.42, 285.19°) |
| OKLab | oklab(42.79% -0.026 -0.1316) |
| OKLCH | oklch(42.79% 0.134 258.8) |
| XYZ | xyz(8.5943, 7.6218, 30.2904) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.68
Dusk Blue
#26538D
ΔE00 2.79
Cobalt
#0047AB
ΔE00 3.31
Light Navy
#155084
ΔE00 3.97
Darkish Blue
#014182
ΔE00 4.28
Twilight Blue
#0A437A
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A4C97 #97651A
analogous
#1A8B97 #1A4C97 #271A97
triadic
#1A4C97 #971A4C #4C971A
tetradic
#1A4C97 #971A8B #97651A #1A9727
square
#1A4C97 #971A8B #97651A #1A9727
split-complementary
#1A4C97 #97271A #8B971A
monochromatic
#08172F #113263 #1A4C97 #2366CB #4B87E0
Accessibility & contrast
On white
8.32
#1A4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#1A4C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A4C97
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A4C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A4C97 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1a4c97; /* rgb */ color: rgb(26, 76, 151); /* oklch */ color: oklch(42.8% 0.134 258.8);
Tailwind
colors: {
custom: {
50: '#6c7db6',
500: '#1a4c97',
950: '#000000',
},
}SCSS
$custom: #1a4c97; $custom-light: #6c7db6; $custom-dark: #000000;
JSON
{
"hex": "#1a4c97",
"rgb": {
"r": 26,
"g": 76,
"b": 151
},
"hsl": {
"h": 216,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.42788,
"c": 0.13418,
"h": 258.8
},
"luminance": 0.07623
}Semantic roles & 50–950 ramp
primary
#1A4C97
secondary
#C2924B
accent
#A63AED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80