#2A4EBD#2A4EBD
#2A4EBD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.179 H 265.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4EBD |
|---|---|
| RGB | rgb(42, 78, 189) |
| HSL | hsl(225, 64%, 45%) |
| HSV | hsv(225, 78%, 74%) |
| CMYK | cmyk(77.8%, 58.7%, 0%, 25.9%) |
| CIE-LAB | lab(37.14, 27.64, -61.97) |
| CIE-LCH | lch(37.14, 67.86, 294.04°) |
| OKLab | oklab(46.84% -0.0129 -0.179) |
| OKLCH | oklch(46.84% 0.179 265.9) |
| XYZ | xyz(12.8613, 9.6137, 49.3120) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.96
Blue Blue
#2242C7
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.09
Blue (survey)
#0343DF
ΔE00 5.27
Warm Blue
#4B57DB
ΔE00 6.37
Cobalt (survey)
#1E488F
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4EBD #BD992A
analogous
#2A97BD #2A4EBD #4F2ABD
triadic
#2A4EBD #BD2A4E #4EBD2A
tetradic
#2A4EBD #BD2A97 #BD992A #2ABD4F
square
#2A4EBD #BD2A97 #BD992A #2ABD4F
split-complementary
#2A4EBD #BD4F2A #97BD2A
monochromatic
#142559 #1F398B #2A4EBD #4D6FD7 #7F97E3
Accessibility & contrast
On white
7.18
#2A4EBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2A4EBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4EBD
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4EBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4EBD | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a4ebd; /* rgb */ color: rgb(42, 78, 189); /* oklch */ color: oklch(46.8% 0.179 265.9);
Tailwind
colors: {
custom: {
50: '#7b7fd2',
500: '#2a4ebd',
950: '#000000',
},
}SCSS
$custom: #2a4ebd; $custom-light: #7b7fd2; $custom-dark: #000000;
JSON
{
"hex": "#2a4ebd",
"rgb": {
"r": 42,
"g": 78,
"b": 189
},
"hsl": {
"h": 225.306,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.4684,
"c": 0.17947,
"h": 265.9
},
"luminance": 0.09615
}Semantic roles & 50–950 ramp
primary
#2A4EBD
secondary
#CBB778
accent
#BE41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83