#1A40A1#1A40A1
#1A40A1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.163 H 264.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1A40A1 |
|---|---|
| RGB | rgb(26, 64, 161) |
| HSL | hsl(223, 72%, 37%) |
| HSV | hsv(223, 84%, 63%) |
| CMYK | cmyk(83.9%, 60.2%, 0%, 36.9%) |
| CIE-LAB | lab(30.54, 24.64, -56.10) |
| CIE-LCH | lch(30.54, 61.28, 293.71°) |
| OKLab | oklab(41.03% -0.0167 -0.1623) |
| OKLCH | oklch(41.03% 0.163 264.1) |
| XYZ | xyz(8.6901, 6.4586, 34.4999) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.96
Sapphire (survey)
#2138AB
ΔE00 3.58
Cobalt (survey)
#1E488F
ΔE00 4.34
Blue Blue
#2242C7
ΔE00 5.53
Darkish Blue
#014182
ΔE00 5.77
Blueberry
#464196
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A40A1 #A17B1A
analogous
#1A84A1 #1A40A1 #371AA1
triadic
#1A40A1 #A11A40 #40A11A
tetradic
#1A40A1 #A11A84 #A17B1A #1AA137
square
#1A40A1 #A11A84 #A17B1A #1AA137
split-complementary
#1A40A1 #A1371A #84A11A
monochromatic
#091638 #112B6C #1A40A1 #2355D6 #527BE3
Accessibility & contrast
On white
9.16
#1A40A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1A40A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A40A1
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A40A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A40A1 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1a40a1; /* rgb */ color: rgb(26, 64, 161); /* oklch */ color: oklch(41.0% 0.163 264.1);
Tailwind
colors: {
custom: {
50: '#7074be',
500: '#1a40a1',
950: '#000000',
},
}SCSS
$custom: #1a40a1; $custom-light: #7074be; $custom-dark: #000000;
JSON
{
"hex": "#1a40a1",
"rgb": {
"r": 26,
"g": 64,
"b": 161
},
"hsl": {
"h": 223.111,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.41027,
"c": 0.16313,
"h": 264.1
},
"luminance": 0.0646
}Semantic roles & 50–950 ramp
primary
#1A40A1
secondary
#C6A551
accent
#BC39EF
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81