#2A47AA#2A47AA
#2A47AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.162 H 267.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47AA |
|---|---|
| RGB | rgb(42, 71, 170) |
| HSL | hsl(226, 60%, 42%) |
| HSV | hsv(226, 75%, 67%) |
| CMYK | cmyk(75.3%, 58.2%, 0%, 33.3%) |
| CIE-LAB | lab(33.77, 25.08, -56.21) |
| CIE-LCH | lch(33.77, 61.55, 294.04°) |
| OKLab | oklab(43.85% -0.0086 -0.1622) |
| OKLCH | oklch(43.85% 0.162 267) |
| XYZ | xyz(10.4612, 7.8999, 38.9959) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.65
Sapphire
#0F52BA
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 4.79
Blueberry
#464196
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47AA #AA8D2A
analogous
#2A87AA #2A47AA #4D2AAA
triadic
#2A47AA #AA2A47 #47AA2A
tetradic
#2A47AA #AA2A87 #AA8D2A #2AAA4D
square
#2A47AA #AA2A87 #AA8D2A #2AAA4D
split-complementary
#2A47AA #AA4D2A #87AA2A
monochromatic
#121E48 #1E3379 #2A47AA #4162D0 #728ADC
Accessibility & contrast
On white
8.14
#2A47AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2A47AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47AA
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47AA | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a47aa; /* rgb */ color: rgb(42, 71, 170); /* oklch */ color: oklch(43.8% 0.162 267.0);
Tailwind
colors: {
custom: {
50: '#7679c4',
500: '#2a47aa',
950: '#000000',
},
}SCSS
$custom: #2a47aa; $custom-light: #7679c4; $custom-dark: #000000;
JSON
{
"hex": "#2a47aa",
"rgb": {
"r": 42,
"g": 71,
"b": 170
},
"hsl": {
"h": 226.406,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.43847,
"c": 0.16244,
"h": 267
},
"luminance": 0.07901
}Semantic roles & 50–950 ramp
primary
#2A47AA
secondary
#C3B06C
accent
#BF44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82