#2A47AC#2A47AC
#2A47AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.165 H 267.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47AC |
|---|---|
| RGB | rgb(42, 71, 172) |
| HSL | hsl(227, 61%, 42%) |
| HSV | hsv(227, 76%, 67%) |
| CMYK | cmyk(75.6%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(33.93, 25.84, -57.15) |
| CIE-LCH | lch(33.93, 62.72, 294.33°) |
| OKLab | oklab(44.02% -0.0086 -0.165) |
| OKLCH | oklch(44.02% 0.165 267) |
| XYZ | xyz(10.6519, 7.9761, 39.9999) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.79
Blue Blue
#2242C7
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.59
Sapphire
#0F52BA
ΔE00 4.69
Cobalt (survey)
#1E488F
ΔE00 5.05
Blueberry
#464196
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47AC #AC8F2A
analogous
#2A88AC #2A47AC #4E2AAC
triadic
#2A47AC #AC2A47 #47AC2A
tetradic
#2A47AC #AC2A88 #AC8F2A #2AAC4E
square
#2A47AC #AC2A88 #AC8F2A #2AAC4E
split-complementary
#2A47AC #AC4E2A #88AC2A
monochromatic
#121E4A #1E337B #2A47AC #4262D1 #738BDD
Accessibility & contrast
On white
8.09
#2A47AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2A47AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47AC
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47AC | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a47ac; /* rgb */ color: rgb(42, 71, 172); /* oklch */ color: oklch(44.0% 0.165 267.0);
Tailwind
colors: {
custom: {
50: '#7779c6',
500: '#2a47ac',
950: '#000000',
},
}SCSS
$custom: #2a47ac; $custom-light: #7779c6; $custom-dark: #000000;
JSON
{
"hex": "#2a47ac",
"rgb": {
"r": 42,
"g": 71,
"b": 172
},
"hsl": {
"h": 226.615,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.44017,
"c": 0.16518,
"h": 267
},
"luminance": 0.07977
}Semantic roles & 50–950 ramp
primary
#2A47AC
secondary
#C4B16D
accent
#C044E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82