#2A49B6#2A49B6
#2A49B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.176 H 266.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A49B6 |
|---|---|
| RGB | rgb(42, 73, 182) |
| HSL | hsl(227, 63%, 44%) |
| HSV | hsv(227, 77%, 71%) |
| CMYK | cmyk(76.9%, 59.9%, 0%, 28.6%) |
| CIE-LAB | lab(35.27, 28.29, -60.90) |
| CIE-LCH | lch(35.27, 67.15, 294.92°) |
| OKLab | oklab(45.27% -0.0097 -0.1759) |
| OKLCH | oklch(45.27% 0.176 266.8) |
| XYZ | xyz(11.7779, 8.6334, 45.2926) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 5.21
Blue (survey)
#0343DF
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A49B6 #B6972A
analogous
#2A8FB6 #2A49B6 #512AB6
triadic
#2A49B6 #B62A49 #49B62A
tetradic
#2A49B6 #B62A8F #B6972A #2AB651
square
#2A49B6 #B62A8F #B6972A #2AB651
split-complementary
#2A49B6 #B6512A #8FB62A
monochromatic
#132153 #1F3584 #2A49B6 #4867D5 #7A91E0
Accessibility & contrast
On white
7.70
#2A49B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2A49B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A49B6
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A49B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A49B6 | 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)
#005ABA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a49b6; /* rgb */ color: rgb(42, 73, 182); /* oklch */ color: oklch(45.3% 0.176 266.8);
Tailwind
colors: {
custom: {
50: '#797bcd',
500: '#2a49b6',
950: '#000000',
},
}SCSS
$custom: #2a49b6; $custom-light: #797bcd; $custom-dark: #000000;
JSON
{
"hex": "#2a49b6",
"rgb": {
"r": 42,
"g": 73,
"b": 182
},
"hsl": {
"h": 226.714,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.45266,
"c": 0.17622,
"h": 266.8
},
"luminance": 0.08635
}Semantic roles & 50–950 ramp
primary
#2A49B6
secondary
#C8B673
accent
#C142E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82