#2A4AB3#2A4AB3
#2A4AB3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.171 H 266.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AB3 |
|---|---|
| RGB | rgb(42, 74, 179) |
| HSL | hsl(226, 62%, 43%) |
| HSV | hsv(226, 77%, 70%) |
| CMYK | cmyk(76.5%, 58.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.29, 26.50, -59.10) |
| CIE-LCH | lch(35.29, 64.77, 294.15°) |
| OKLab | oklab(45.21% -0.0105 -0.1706) |
| OKLCH | oklch(45.21% 0.171 266.5) |
| XYZ | xyz(11.5375, 8.6432, 43.6993) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.02
Sapphire
#0F52BA
ΔE00 3.75
Blue Blue
#2242C7
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 5.50
Cobalt (survey)
#1E488F
ΔE00 5.65
Blue (survey)
#0343DF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AB3 #B3932A
analogous
#2A8EB3 #2A4AB3 #4E2AB3
triadic
#2A4AB3 #B32A4A #4AB32A
tetradic
#2A4AB3 #B32A8E #B3932A #2AB34E
square
#2A4AB3 #B32A8E #B3932A #2AB34E
split-complementary
#2A4AB3 #B34E2A #8EB32A
monochromatic
#132150 #1E3681 #2A4AB3 #4667D4 #7890DF
Accessibility & contrast
On white
7.70
#2A4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2A4AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AB3
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AB3 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4ab3; /* rgb */ color: rgb(42, 74, 179); /* oklch */ color: oklch(45.2% 0.171 266.5);
Tailwind
colors: {
custom: {
50: '#787ccb',
500: '#2a4ab3',
950: '#000000',
},
}SCSS
$custom: #2a4ab3; $custom-light: #787ccb; $custom-dark: #000000;
JSON
{
"hex": "#2a4ab3",
"rgb": {
"r": 42,
"g": 74,
"b": 179
},
"hsl": {
"h": 225.985,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.45205,
"c": 0.17096,
"h": 266.5
},
"luminance": 0.08644
}Semantic roles & 50–950 ramp
primary
#2A4AB3
secondary
#C7B372
accent
#BF43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82