#2A4BB1#2A4BB1
#2A4BB1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.167 H 266.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BB1 |
|---|---|
| RGB | rgb(42, 75, 177) |
| HSL | hsl(225, 62%, 43%) |
| HSV | hsv(225, 76%, 69%) |
| CMYK | cmyk(76.3%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(35.40, 25.08, -57.74) |
| CIE-LCH | lch(35.40, 62.95, 293.48°) |
| OKLab | oklab(45.24% -0.0113 -0.1666) |
| OKLCH | oklch(45.24% 0.167 266.1) |
| XYZ | xyz(11.4039, 8.6975, 42.6642) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Sapphire
#0F52BA
ΔE00 3.44
Blue Blue
#2242C7
ΔE00 4.27
Cobalt (survey)
#1E488F
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 5.84
Blue (survey)
#0343DF
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BB1 #B1902A
analogous
#2A8FB1 #2A4BB1 #4C2AB1
triadic
#2A4BB1 #B12A4B #4BB12A
tetradic
#2A4BB1 #B12A8F #B1902A #2AB14C
square
#2A4BB1 #B12A8F #B1902A #2AB14C
split-complementary
#2A4BB1 #B14C2A #8FB12A
monochromatic
#13214E #1E3680 #2A4BB1 #4568D3 #7790DF
Accessibility & contrast
On white
7.66
#2A4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A4BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BB1
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BB1 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4bb1; /* rgb */ color: rgb(42, 75, 177); /* oklch */ color: oklch(45.2% 0.167 266.1);
Tailwind
colors: {
custom: {
50: '#787cc9',
500: '#2a4bb1',
950: '#000000',
},
}SCSS
$custom: #2a4bb1; $custom-light: #787cc9; $custom-dark: #000000;
JSON
{
"hex": "#2a4bb1",
"rgb": {
"r": 42,
"g": 75,
"b": 177
},
"hsl": {
"h": 225.333,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.45236,
"c": 0.16701,
"h": 266.1
},
"luminance": 0.08699
}Semantic roles & 50–950 ramp
primary
#2A4BB1
secondary
#C6B170
accent
#BD43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82