#2A47AE#2A47AE
#2A47AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.168 H 267.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47AE |
|---|---|
| RGB | rgb(42, 71, 174) |
| HSL | hsl(227, 61%, 42%) |
| HSV | hsv(227, 76%, 68%) |
| CMYK | cmyk(75.9%, 59.2%, 0%, 31.8%) |
| CIE-LAB | lab(34.09, 26.59, -58.08) |
| CIE-LCH | lch(34.09, 63.88, 294.60°) |
| OKLab | oklab(44.19% -0.0085 -0.1677) |
| OKLCH | oklch(44.19% 0.168 267.1) |
| XYZ | xyz(10.8454, 8.0535, 41.0191) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.90
Blue Blue
#2242C7
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.55
Sapphire
#0F52BA
ΔE00 4.66
Cobalt (survey)
#1E488F
ΔE00 5.32
Blueberry
#464196
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47AE #AE912A
analogous
#2A89AE #2A47AE #4F2AAE
triadic
#2A47AE #AE2A47 #47AE2A
tetradic
#2A47AE #AE2A89 #AE912A #2AAE4F
square
#2A47AE #AE2A89 #AE912A #2AAE4F
split-complementary
#2A47AE #AE4F2A #89AE2A
monochromatic
#121F4B #1E337D #2A47AE #4363D2 #758CDE
Accessibility & contrast
On white
8.04
#2A47AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2A47AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47AE
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47AE | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a47ae; /* rgb */ color: rgb(42, 71, 174); /* oklch */ color: oklch(44.2% 0.168 267.1);
Tailwind
colors: {
custom: {
50: '#7779c7',
500: '#2a47ae',
950: '#000000',
},
}SCSS
$custom: #2a47ae; $custom-light: #7779c7; $custom-dark: #000000;
JSON
{
"hex": "#2a47ae",
"rgb": {
"r": 42,
"g": 71,
"b": 174
},
"hsl": {
"h": 226.818,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.44187,
"c": 0.1679,
"h": 267.1
},
"luminance": 0.08055
}Semantic roles & 50–950 ramp
primary
#2A47AE
secondary
#C5B26F
accent
#C144E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82