#2A4BB0#2A4BB0
#2A4BB0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.166 H 266.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BB0 |
|---|---|
| RGB | rgb(42, 75, 176) |
| HSL | hsl(225, 61%, 43%) |
| HSV | hsv(225, 76%, 69%) |
| CMYK | cmyk(76.1%, 57.4%, 0%, 31%) |
| CIE-LAB | lab(35.32, 24.70, -57.27) |
| CIE-LCH | lch(35.32, 62.37, 293.33°) |
| OKLab | oklab(45.15% -0.0113 -0.1653) |
| OKLCH | oklch(45.15% 0.166 266.1) |
| XYZ | xyz(11.3046, 8.6577, 42.1412) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.77
Sapphire
#0F52BA
ΔE00 3.45
Blue Blue
#2242C7
ΔE00 4.39
Cobalt (survey)
#1E488F
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.86
Blue (survey)
#0343DF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BB0 #B08F2A
analogous
#2A8EB0 #2A4BB0 #4C2AB0
triadic
#2A4BB0 #B02A4B #4BB02A
tetradic
#2A4BB0 #B02A8E #B08F2A #2AB04C
square
#2A4BB0 #B02A8E #B08F2A #2AB04C
split-complementary
#2A4BB0 #B04C2A #8EB02A
monochromatic
#12214D #1E367F #2A4BB0 #4568D3 #7690DE
Accessibility & contrast
On white
7.69
#2A4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2A4BB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BB0
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BB0 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4bb0; /* rgb */ color: rgb(42, 75, 176); /* oklch */ color: oklch(45.2% 0.166 266.1);
Tailwind
colors: {
custom: {
50: '#787cc8',
500: '#2a4bb0',
950: '#000000',
},
}SCSS
$custom: #2a4bb0; $custom-light: #787cc8; $custom-dark: #000000;
JSON
{
"hex": "#2a4bb0",
"rgb": {
"r": 42,
"g": 75,
"b": 176
},
"hsl": {
"h": 225.224,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.45152,
"c": 0.16566,
"h": 266.1
},
"luminance": 0.08659
}Semantic roles & 50–950 ramp
primary
#2A4BB0
secondary
#C6B170
accent
#BD43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82