#1A42A0#1A42A0
#1A42A0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.159 H 263.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1A42A0 |
|---|---|
| RGB | rgb(26, 66, 160) |
| HSL | hsl(222, 72%, 36%) |
| HSV | hsv(222, 84%, 63%) |
| CMYK | cmyk(83.8%, 58.8%, 0%, 37.3%) |
| CIE-LAB | lab(31.00, 22.88, -54.75) |
| CIE-LCH | lch(31.00, 59.34, 292.68°) |
| OKLab | oklab(41.35% -0.018 -0.1582) |
| OKLCH | oklch(41.35% 0.159 263.5) |
| XYZ | xyz(8.7171, 6.6530, 34.0756) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.42
Cobalt (survey)
#1E488F
ΔE00 3.66
Sapphire (survey)
#2138AB
ΔE00 4.30
Darkish Blue
#014182
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 5.79
Sapphire
#0F52BA
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A42A0 #A0781A
analogous
#1A85A0 #1A42A0 #351AA0
triadic
#1A42A0 #A01A42 #42A01A
tetradic
#1A42A0 #A01A85 #A0781A #1AA035
square
#1A42A0 #A01A85 #A0781A #1AA035
split-complementary
#1A42A0 #A0351A #85A01A
monochromatic
#091737 #112C6B #1A42A0 #2358D5 #527DE3
Accessibility & contrast
On white
9.01
#1A42A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1A42A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A42A0
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A42A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A42A0 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1a42a0; /* rgb */ color: rgb(26, 66, 160); /* oklch */ color: oklch(41.3% 0.159 263.5);
Tailwind
colors: {
custom: {
50: '#6f75bd',
500: '#1a42a0',
950: '#000000',
},
}SCSS
$custom: #1a42a0; $custom-light: #6f75bd; $custom-dark: #000000;
JSON
{
"hex": "#1a42a0",
"rgb": {
"r": 26,
"g": 66,
"b": 160
},
"hsl": {
"h": 222.09,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.41348,
"c": 0.15927,
"h": 263.5
},
"luminance": 0.06654
}Semantic roles & 50–950 ramp
primary
#1A42A0
secondary
#C5A250
accent
#B939EF
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81