#2A47AB#2A47AB
#2A47AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.164 H 267.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47AB |
|---|---|
| RGB | rgb(42, 71, 171) |
| HSL | hsl(227, 61%, 42%) |
| HSV | hsv(227, 75%, 67%) |
| CMYK | cmyk(75.4%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(33.85, 25.46, -56.68) |
| CIE-LCH | lch(33.85, 62.14, 294.19°) |
| OKLab | oklab(43.93% -0.0086 -0.1636) |
| OKLCH | oklch(43.93% 0.164 267) |
| XYZ | xyz(10.5562, 7.9378, 39.4960) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.74
Blue Blue
#2242C7
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.61
Sapphire
#0F52BA
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 4.92
Blueberry
#464196
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47AB #AB8E2A
analogous
#2A87AB #2A47AB #4E2AAB
triadic
#2A47AB #AB2A47 #47AB2A
tetradic
#2A47AB #AB2A87 #AB8E2A #2AAB4E
square
#2A47AB #AB2A87 #AB8E2A #2AAB4E
split-complementary
#2A47AB #AB4E2A #87AB2A
monochromatic
#121E49 #1E337A #2A47AB #4262D1 #738BDD
Accessibility & contrast
On white
8.12
#2A47AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2A47AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47AB
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47AB | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a47ab; /* rgb */ color: rgb(42, 71, 171); /* oklch */ color: oklch(43.9% 0.164 267.0);
Tailwind
colors: {
custom: {
50: '#7779c5',
500: '#2a47ab',
950: '#000000',
},
}SCSS
$custom: #2a47ab; $custom-light: #7779c5; $custom-dark: #000000;
JSON
{
"hex": "#2a47ab",
"rgb": {
"r": 42,
"g": 71,
"b": 171
},
"hsl": {
"h": 226.512,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.43932,
"c": 0.16382,
"h": 267
},
"luminance": 0.07939
}Semantic roles & 50–950 ramp
primary
#2A47AB
secondary
#C4B06D
accent
#C044E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82