#2A4BB4#2A4BB4
#2A4BB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.171 H 266.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BB4 |
|---|---|
| RGB | rgb(42, 75, 180) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 77%, 71%) |
| CMYK | cmyk(76.7%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(35.63, 26.22, -59.13) |
| CIE-LCH | lch(35.63, 64.68, 293.91°) |
| OKLab | oklab(45.49% -0.0111 -0.1707) |
| OKLCH | oklch(45.49% 0.171 266.3) |
| XYZ | xyz(11.7063, 8.8184, 44.2563) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.10
Sapphire
#0F52BA
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 5.83
Blue (survey)
#0343DF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BB4 #B4932A
analogous
#2A90B4 #2A4BB4 #4E2AB4
triadic
#2A4BB4 #B42A4B #4BB42A
tetradic
#2A4BB4 #B42A90 #B4932A #2AB44E
square
#2A4BB4 #B42A90 #B4932A #2AB44E
split-complementary
#2A4BB4 #B44E2A #90B42A
monochromatic
#132251 #1E3682 #2A4BB4 #4769D4 #7991E0
Accessibility & contrast
On white
7.60
#2A4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2A4BB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BB4
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BB4 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a4bb4; /* rgb */ color: rgb(42, 75, 180); /* oklch */ color: oklch(45.5% 0.171 266.3);
Tailwind
colors: {
custom: {
50: '#797ccb',
500: '#2a4bb4',
950: '#000000',
},
}SCSS
$custom: #2a4bb4; $custom-light: #797ccb; $custom-dark: #000000;
JSON
{
"hex": "#2a4bb4",
"rgb": {
"r": 42,
"g": 75,
"b": 180
},
"hsl": {
"h": 225.652,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.45488,
"c": 0.17107,
"h": 266.3
},
"luminance": 0.0882
}Semantic roles & 50–950 ramp
primary
#2A4BB4
secondary
#C8B372
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82