#2A49AB#2A49AB
#2A49AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.161 H 266.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A49AB |
|---|---|
| RGB | rgb(42, 73, 171) |
| HSL | hsl(226, 61%, 42%) |
| HSV | hsv(226, 75%, 67%) |
| CMYK | cmyk(75.4%, 57.3%, 0%, 32.9%) |
| CIE-LAB | lab(34.39, 24.13, -55.81) |
| CIE-LCH | lch(34.39, 60.80, 293.38°) |
| OKLab | oklab(44.33% -0.0101 -0.161) |
| OKLCH | oklch(44.33% 0.161 266.4) |
| XYZ | xyz(10.6855, 8.1964, 39.5391) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.53
Sapphire
#0F52BA
ΔE00 4.12
Blue Blue
#2242C7
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 5.29
Blueberry
#464196
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A49AB #AB8C2A
analogous
#2A8AAB #2A49AB #4B2AAB
triadic
#2A49AB #AB2A49 #49AB2A
tetradic
#2A49AB #AB2A8A #AB8C2A #2AAB4B
square
#2A49AB #AB2A8A #AB8C2A #2AAB4B
split-complementary
#2A49AB #AB4B2A #8AAB2A
monochromatic
#121F49 #1E347A #2A49AB #4264D1 #738CDD
Accessibility & contrast
On white
7.96
#2A49AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A49AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A49AB
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A49AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A49AB | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a49ab; /* rgb */ color: rgb(42, 73, 171); /* oklch */ color: oklch(44.3% 0.161 266.4);
Tailwind
colors: {
custom: {
50: '#777bc5',
500: '#2a49ab',
950: '#000000',
},
}SCSS
$custom: #2a49ab; $custom-light: #777bc5; $custom-dark: #000000;
JSON
{
"hex": "#2a49ab",
"rgb": {
"r": 42,
"g": 73,
"b": 171
},
"hsl": {
"h": 225.581,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.44333,
"c": 0.16132,
"h": 266.4
},
"luminance": 0.08198
}Semantic roles & 50–950 ramp
primary
#2A49AB
secondary
#C4AF6D
accent
#BD44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82