#2A49AA#2A49AA
#2A49AA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.160 H 266.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2A49AA |
|---|---|
| RGB | rgb(42, 73, 170) |
| HSL | hsl(225, 60%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(75.3%, 57.1%, 0%, 33.3%) |
| CIE-LAB | lab(34.31, 23.74, -55.34) |
| CIE-LCH | lch(34.31, 60.22, 293.22°) |
| OKLab | oklab(44.25% -0.0101 -0.1596) |
| OKLCH | oklch(44.25% 0.16 266.4) |
| XYZ | xyz(10.5905, 8.1585, 39.0390) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.49
Sapphire
#0F52BA
ΔE00 4.15
Cobalt (survey)
#1E488F
ΔE00 4.52
Blue Blue
#2242C7
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 5.33
Blueberry
#464196
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A49AA #AA8B2A
analogous
#2A89AA #2A49AA #4B2AAA
triadic
#2A49AA #AA2A49 #49AA2A
tetradic
#2A49AA #AA2A89 #AA8B2A #2AAA4B
square
#2A49AA #AA2A89 #AA8B2A #2AAA4B
split-complementary
#2A49AA #AA4B2A #89AA2A
monochromatic
#121F48 #1E3479 #2A49AA #4164D0 #728CDC
Accessibility & contrast
On white
7.98
#2A49AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2A49AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A49AA
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A49AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A49AA | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a49aa; /* rgb */ color: rgb(42, 73, 170); /* oklch */ color: oklch(44.3% 0.160 266.4);
Tailwind
colors: {
custom: {
50: '#767bc4',
500: '#2a49aa',
950: '#000000',
},
}SCSS
$custom: #2a49aa; $custom-light: #767bc4; $custom-dark: #000000;
JSON
{
"hex": "#2a49aa",
"rgb": {
"r": 42,
"g": 73,
"b": 170
},
"hsl": {
"h": 225.469,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.4425,
"c": 0.15993,
"h": 266.4
},
"luminance": 0.0816
}Semantic roles & 50–950 ramp
primary
#2A49AA
secondary
#C3AE6C
accent
#BD44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82