#2A4BB5#2A4BB5
#2A4BB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.172 H 266.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BB5 |
|---|---|
| RGB | rgb(42, 75, 181) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 77%, 71%) |
| CMYK | cmyk(76.8%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(35.71, 26.59, -59.59) |
| CIE-LCH | lch(35.71, 65.26, 294.05°) |
| OKLab | oklab(45.57% -0.0111 -0.1721) |
| OKLCH | oklch(45.57% 0.172 266.3) |
| XYZ | xyz(11.8085, 8.8593, 44.7948) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.19
Sapphire
#0F52BA
ΔE00 3.48
Blue Blue
#2242C7
ΔE00 3.82
Blue (survey)
#0343DF
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 5.84
Cobalt (survey)
#1E488F
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BB5 #B5942A
analogous
#2A90B5 #2A4BB5 #4E2AB5
triadic
#2A4BB5 #B52A4B #4BB52A
tetradic
#2A4BB5 #B52A90 #B5942A #2AB54E
square
#2A4BB5 #B52A90 #B5942A #2AB54E
split-complementary
#2A4BB5 #B54E2A #90B52A
monochromatic
#132252 #1E3683 #2A4BB5 #4869D4 #7992E0
Accessibility & contrast
On white
7.58
#2A4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2A4BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BB5
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BB5 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a4bb5; /* rgb */ color: rgb(42, 75, 181); /* oklch */ color: oklch(45.6% 0.172 266.3);
Tailwind
colors: {
custom: {
50: '#797ccc',
500: '#2a4bb5',
950: '#000000',
},
}SCSS
$custom: #2a4bb5; $custom-light: #797ccc; $custom-dark: #000000;
JSON
{
"hex": "#2a4bb5",
"rgb": {
"r": 42,
"g": 75,
"b": 181
},
"hsl": {
"h": 225.755,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.45572,
"c": 0.17243,
"h": 266.3
},
"luminance": 0.08861
}Semantic roles & 50–950 ramp
primary
#2A4BB5
secondary
#C8B473
accent
#BF42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82