#1A42A1#1A42A1
#1A42A1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.161 H 263.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1A42A1 |
|---|---|
| RGB | rgb(26, 66, 161) |
| HSL | hsl(222, 72%, 37%) |
| HSV | hsv(222, 84%, 63%) |
| CMYK | cmyk(83.9%, 59%, 0%, 36.9%) |
| CIE-LAB | lab(31.09, 23.28, -55.22) |
| CIE-LCH | lch(31.09, 59.92, 292.86°) |
| OKLab | oklab(41.44% -0.0179 -0.1596) |
| OKLCH | oklch(41.44% 0.161 263.6) |
| XYZ | xyz(8.8049, 6.6882, 34.5382) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.38
Cobalt (survey)
#1E488F
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 4.20
Darkish Blue
#014182
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.65
Sapphire
#0F52BA
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A42A1 #A1791A
analogous
#1A86A1 #1A42A1 #351AA1
triadic
#1A42A1 #A11A42 #42A11A
tetradic
#1A42A1 #A11A86 #A1791A #1AA135
square
#1A42A1 #A11A86 #A1791A #1AA135
split-complementary
#1A42A1 #A1351A #86A11A
monochromatic
#091738 #112C6C #1A42A1 #2358D6 #527DE3
Accessibility & contrast
On white
8.98
#1A42A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#1A42A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A42A1
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A42A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A42A1 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1a42a1; /* rgb */ color: rgb(26, 66, 161); /* oklch */ color: oklch(41.4% 0.161 263.6);
Tailwind
colors: {
custom: {
50: '#7075be',
500: '#1a42a1',
950: '#000000',
},
}SCSS
$custom: #1a42a1; $custom-light: #7075be; $custom-dark: #000000;
JSON
{
"hex": "#1a42a1",
"rgb": {
"r": 26,
"g": 66,
"b": 161
},
"hsl": {
"h": 222.222,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.41436,
"c": 0.16063,
"h": 263.6
},
"luminance": 0.06689
}Semantic roles & 50–950 ramp
primary
#1A42A1
secondary
#C6A351
accent
#B939EF
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81