#2A4AB5#2A4AB5
#2A4AB5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.174 H 266.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AB5 |
|---|---|
| RGB | rgb(42, 74, 181) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 77%, 71%) |
| CMYK | cmyk(76.8%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(35.45, 27.25, -60.02) |
| CIE-LCH | lch(35.45, 65.92, 294.42°) |
| OKLab | oklab(45.38% -0.0104 -0.1733) |
| OKLCH | oklch(45.38% 0.174 266.6) |
| XYZ | xyz(11.7412, 8.7247, 44.7723) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.21
Blue Blue
#2242C7
ΔE00 3.56
Sapphire
#0F52BA
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 5.51
Blue (survey)
#0343DF
ΔE00 5.60
Cobalt (survey)
#1E488F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AB5 #B5952A
analogous
#2A8FB5 #2A4AB5 #4F2AB5
triadic
#2A4AB5 #B52A4A #4AB52A
tetradic
#2A4AB5 #B52A8F #B5952A #2AB54F
square
#2A4AB5 #B52A8F #B5952A #2AB54F
split-complementary
#2A4AB5 #B54F2A #8FB52A
monochromatic
#132152 #1E3683 #2A4AB5 #4868D4 #7991E0
Accessibility & contrast
On white
7.65
#2A4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A4AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AB5
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AB5 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4ab5; /* rgb */ color: rgb(42, 74, 181); /* oklch */ color: oklch(45.4% 0.174 266.6);
Tailwind
colors: {
custom: {
50: '#797ccc',
500: '#2a4ab5',
950: '#000000',
},
}SCSS
$custom: #2a4ab5; $custom-light: #797ccc; $custom-dark: #000000;
JSON
{
"hex": "#2a4ab5",
"rgb": {
"r": 42,
"g": 74,
"b": 181
},
"hsl": {
"h": 226.187,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.45375,
"c": 0.17365,
"h": 266.6
},
"luminance": 0.08726
}Semantic roles & 50–950 ramp
primary
#2A4AB5
secondary
#C8B473
accent
#C042E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82