#2A4CB5#2A4CB5
#2A4CB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.171 H 266.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4CB5 |
|---|---|
| RGB | rgb(42, 76, 181) |
| HSL | hsl(225, 62%, 44%) |
| HSV | hsv(225, 77%, 71%) |
| CMYK | cmyk(76.8%, 58%, 0%, 29%) |
| CIE-LAB | lab(35.98, 25.93, -59.16) |
| CIE-LCH | lch(35.98, 64.59, 293.67°) |
| OKLab | oklab(45.77% -0.0118 -0.1708) |
| OKLCH | oklch(45.77% 0.171 266) |
| XYZ | xyz(11.8768, 8.9960, 44.8176) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.18
Cobalt
#0047AB
ΔE00 3.20
Blue Blue
#2242C7
ΔE00 4.09
Cobalt (survey)
#1E488F
ΔE00 5.80
Blue (survey)
#0343DF
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4CB5 #B5932A
analogous
#2A91B5 #2A4CB5 #4D2AB5
triadic
#2A4CB5 #B52A4C #4CB52A
tetradic
#2A4CB5 #B52A91 #B5932A #2AB54D
square
#2A4CB5 #B52A91 #B5932A #2AB54D
split-complementary
#2A4CB5 #B54D2A #91B52A
monochromatic
#132252 #1E3783 #2A4CB5 #486AD4 #7992E0
Accessibility & contrast
On white
7.50
#2A4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2A4CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4CB5
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4CB5 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a4cb5; /* rgb */ color: rgb(42, 76, 181); /* oklch */ color: oklch(45.8% 0.171 266.0);
Tailwind
colors: {
custom: {
50: '#797dcc',
500: '#2a4cb5',
950: '#000000',
},
}SCSS
$custom: #2a4cb5; $custom-light: #797dcc; $custom-dark: #000000;
JSON
{
"hex": "#2a4cb5",
"rgb": {
"r": 42,
"g": 76,
"b": 181
},
"hsl": {
"h": 225.324,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.4577,
"c": 0.1712,
"h": 266
},
"luminance": 0.08997
}Semantic roles & 50–950 ramp
primary
#2A4CB5
secondary
#C8B373
accent
#BE42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82