#2A49B2#2A49B2
#2A49B2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.171 H 266.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A49B2 |
|---|---|
| RGB | rgb(42, 73, 178) |
| HSL | hsl(226, 62%, 43%) |
| HSV | hsv(226, 76%, 70%) |
| CMYK | cmyk(76.4%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(34.94, 26.78, -59.07) |
| CIE-LCH | lch(34.94, 64.85, 294.39°) |
| OKLab | oklab(44.92% -0.0098 -0.1706) |
| OKLCH | oklch(44.92% 0.171 266.7) |
| XYZ | xyz(11.3705, 8.4704, 43.1465) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.99
Blue Blue
#2242C7
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 5.17
Cobalt (survey)
#1E488F
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A49B2 #B2932A
analogous
#2A8DB2 #2A49B2 #4F2AB2
triadic
#2A49B2 #B22A49 #49B22A
tetradic
#2A49B2 #B22A8D #B2932A #2AB24F
square
#2A49B2 #B22A8D #B2932A #2AB24F
split-complementary
#2A49B2 #B24F2A #8DB22A
monochromatic
#13204F #1E3580 #2A49B2 #4666D3 #778FDF
Accessibility & contrast
On white
7.79
#2A49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2A49B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A49B2
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A49B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A49B2 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a49b2; /* rgb */ color: rgb(42, 73, 178); /* oklch */ color: oklch(44.9% 0.171 266.7);
Tailwind
colors: {
custom: {
50: '#787bca',
500: '#2a49b2',
950: '#000000',
},
}SCSS
$custom: #2a49b2; $custom-light: #787bca; $custom-dark: #000000;
JSON
{
"hex": "#2a49b2",
"rgb": {
"r": 42,
"g": 73,
"b": 178
},
"hsl": {
"h": 226.324,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.44923,
"c": 0.17084,
"h": 266.7
},
"luminance": 0.08472
}Semantic roles & 50–950 ramp
primary
#2A49B2
secondary
#C7B371
accent
#C043E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82