#2A49B5#2A49B5
#2A49B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.175 H 266.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A49B5 |
|---|---|
| RGB | rgb(42, 73, 181) |
| HSL | hsl(227, 62%, 44%) |
| HSV | hsv(227, 77%, 71%) |
| CMYK | cmyk(76.8%, 59.7%, 0%, 29%) |
| CIE-LAB | lab(35.19, 27.91, -60.45) |
| CIE-LCH | lch(35.19, 66.58, 294.79°) |
| OKLab | oklab(45.18% -0.0097 -0.1746) |
| OKLCH | oklch(45.18% 0.175 266.8) |
| XYZ | xyz(11.6750, 8.5922, 44.7503) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 5.19
Blue (survey)
#0343DF
ΔE00 5.48
Cobalt (survey)
#1E488F
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A49B5 #B5962A
analogous
#2A8EB5 #2A49B5 #502AB5
triadic
#2A49B5 #B52A49 #49B52A
tetradic
#2A49B5 #B52A8E #B5962A #2AB550
square
#2A49B5 #B52A8E #B5962A #2AB550
split-complementary
#2A49B5 #B5502A #8EB52A
monochromatic
#132152 #1E3583 #2A49B5 #4867D4 #7990E0
Accessibility & contrast
On white
7.72
#2A49B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2A49B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A49B5
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A49B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A49B5 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a49b5; /* rgb */ color: rgb(42, 73, 181); /* oklch */ color: oklch(45.2% 0.175 266.8);
Tailwind
colors: {
custom: {
50: '#797bcc',
500: '#2a49b5',
950: '#000000',
},
}SCSS
$custom: #2a49b5; $custom-light: #797bcc; $custom-dark: #000000;
JSON
{
"hex": "#2a49b5",
"rgb": {
"r": 42,
"g": 73,
"b": 181
},
"hsl": {
"h": 226.619,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.4518,
"c": 0.17488,
"h": 266.8
},
"luminance": 0.08594
}Semantic roles & 50–950 ramp
primary
#2A49B5
secondary
#C8B573
accent
#C142E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82