#2A4AB4#2A4AB4
#2A4AB4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.172 H 266.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AB4 |
|---|---|
| RGB | rgb(42, 74, 180) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 77%, 71%) |
| CMYK | cmyk(76.7%, 58.9%, 0%, 29.4%) |
| CIE-LAB | lab(35.37, 26.88, -59.56) |
| CIE-LCH | lch(35.37, 65.34, 294.29°) |
| OKLab | oklab(45.29% -0.0104 -0.172) |
| OKLCH | oklch(45.29% 0.172 266.5) |
| XYZ | xyz(11.6390, 8.6838, 44.2339) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.11
Blue Blue
#2242C7
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.73
Cobalt (survey)
#1E488F
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AB4 #B4942A
analogous
#2A8FB4 #2A4AB4 #4F2AB4
triadic
#2A4AB4 #B42A4A #4AB42A
tetradic
#2A4AB4 #B42A8F #B4942A #2AB44F
square
#2A4AB4 #B42A8F #B4942A #2AB44F
split-complementary
#2A4AB4 #B44F2A #8FB42A
monochromatic
#132151 #1E3682 #2A4AB4 #4768D4 #7991E0
Accessibility & contrast
On white
7.67
#2A4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A4AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AB4
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AB4 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4ab4; /* rgb */ color: rgb(42, 74, 180); /* oklch */ color: oklch(45.3% 0.172 266.5);
Tailwind
colors: {
custom: {
50: '#797ccb',
500: '#2a4ab4',
950: '#000000',
},
}SCSS
$custom: #2a4ab4; $custom-light: #797ccb; $custom-dark: #000000;
JSON
{
"hex": "#2a4ab4",
"rgb": {
"r": 42,
"g": 74,
"b": 180
},
"hsl": {
"h": 226.087,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.4529,
"c": 0.17231,
"h": 266.5
},
"luminance": 0.08685
}Semantic roles & 50–950 ramp
primary
#2A4AB4
secondary
#C8B472
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82