#2A4BBA#2A4BBA
#2A4BBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.179 H 266.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BBA |
|---|---|
| RGB | rgb(42, 75, 186) |
| HSL | hsl(226, 63%, 45%) |
| HSV | hsv(226, 77%, 73%) |
| CMYK | cmyk(77.4%, 59.7%, 0%, 27.1%) |
| CIE-LAB | lab(36.12, 28.48, -61.88) |
| CIE-LCH | lch(36.12, 68.12, 294.72°) |
| OKLab | oklab(46% -0.011 -0.1788) |
| OKLCH | oklch(46% 0.179 266.5) |
| XYZ | xyz(12.3307, 9.0682, 47.5453) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.33
Sapphire
#0F52BA
ΔE00 3.63
Cobalt
#0047AB
ΔE00 3.69
Blue (survey)
#0343DF
ΔE00 5.09
Sapphire (survey)
#2138AB
ΔE00 5.92
Ocean Blue
#4F42B5
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BBA #BA992A
analogous
#2A93BA #2A4BBA #512ABA
triadic
#2A4BBA #BA2A4B #4BBA2A
tetradic
#2A4BBA #BA2A93 #BA992A #2ABA51
square
#2A4BBA #BA2A93 #BA992A #2ABA51
split-complementary
#2A4BBA #BA512A #93BA2A
monochromatic
#132356 #1F3788 #2A4BBA #4B6BD6 #7D94E2
Accessibility & contrast
On white
7.46
#2A4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2A4BBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BBA
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BBA | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a4bba; /* rgb */ color: rgb(42, 75, 186); /* oklch */ color: oklch(46.0% 0.179 266.5);
Tailwind
colors: {
custom: {
50: '#7a7cd0',
500: '#2a4bba',
950: '#000000',
},
}SCSS
$custom: #2a4bba; $custom-light: #7a7cd0; $custom-dark: #000000;
JSON
{
"hex": "#2a4bba",
"rgb": {
"r": 42,
"g": 75,
"b": 186
},
"hsl": {
"h": 226.25,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.45999,
"c": 0.17913,
"h": 266.5
},
"luminance": 0.0907
}Semantic roles & 50–950 ramp
primary
#2A4BBA
secondary
#CAB776
accent
#C042E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82