#2A49BA#2A49BA
#2A49BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.182 H 266.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A49BA |
|---|---|
| RGB | rgb(42, 73, 186) |
| HSL | hsl(227, 63%, 45%) |
| HSV | hsv(227, 77%, 73%) |
| CMYK | cmyk(77.4%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(35.60, 29.79, -62.72) |
| CIE-LCH | lch(35.60, 69.44, 295.41°) |
| OKLab | oklab(45.62% -0.0097 -0.1813) |
| OKLCH | oklch(45.62% 0.182 266.9) |
| XYZ | xyz(12.1972, 8.8011, 47.5008) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.78
Cobalt
#0047AB
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 4.22
Blue (survey)
#0343DF
ΔE00 4.82
Sapphire (survey)
#2138AB
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A49BA #BA9B2A
analogous
#2A91BA #2A49BA #532ABA
triadic
#2A49BA #BA2A49 #49BA2A
tetradic
#2A49BA #BA2A91 #BA9B2A #2ABA53
square
#2A49BA #BA2A91 #BA9B2A #2ABA53
split-complementary
#2A49BA #BA532A #91BA2A
monochromatic
#132256 #1F3588 #2A49BA #4B69D6 #7D93E2
Accessibility & contrast
On white
7.61
#2A49BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2A49BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A49BA
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A49BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A49BA | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a49ba; /* rgb */ color: rgb(42, 73, 186); /* oklch */ color: oklch(45.6% 0.182 266.9);
Tailwind
colors: {
custom: {
50: '#7a7bd0',
500: '#2a49ba',
950: '#000000',
},
}SCSS
$custom: #2a49ba; $custom-light: #7a7bd0; $custom-dark: #000000;
JSON
{
"hex": "#2a49ba",
"rgb": {
"r": 42,
"g": 73,
"b": 186
},
"hsl": {
"h": 227.083,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.45615,
"c": 0.18155,
"h": 266.9
},
"luminance": 0.08802
}Semantic roles & 50–950 ramp
primary
#2A49BA
secondary
#CAB876
accent
#C342E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82