#2A47B1#2A47B1
#2A47B1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.172 H 267.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47B1 |
|---|---|
| RGB | rgb(42, 71, 177) |
| HSL | hsl(227, 62%, 43%) |
| HSV | hsv(227, 76%, 69%) |
| CMYK | cmyk(76.3%, 59.9%, 0%, 30.6%) |
| CIE-LAB | lab(34.34, 27.72, -59.46) |
| CIE-LCH | lch(34.34, 65.61, 295.00°) |
| OKLab | oklab(44.45% -0.0085 -0.1718) |
| OKLCH | oklch(44.45% 0.172 267.2) |
| XYZ | xyz(11.1411, 8.1718, 42.5766) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Blue Blue
#2242C7
ΔE00 3.41
Sapphire (survey)
#2138AB
ΔE00 4.52
Sapphire
#0F52BA
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.71
Blue (survey)
#0343DF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47B1 #B1942A
analogous
#2A8AB1 #2A47B1 #502AB1
triadic
#2A47B1 #B12A47 #47B12A
tetradic
#2A47B1 #B12A8A #B1942A #2AB150
square
#2A47B1 #B12A8A #B1942A #2AB150
split-complementary
#2A47B1 #B1502A #8AB12A
monochromatic
#131F4E #1E3380 #2A47B1 #4564D3 #778DDF
Accessibility & contrast
On white
7.97
#2A47B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2A47B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47B1
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47B1 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a47b1; /* rgb */ color: rgb(42, 71, 177); /* oklch */ color: oklch(44.4% 0.172 267.2);
Tailwind
colors: {
custom: {
50: '#7879c9',
500: '#2a47b1',
950: '#000000',
},
}SCSS
$custom: #2a47b1; $custom-light: #7879c9; $custom-dark: #000000;
JSON
{
"hex": "#2a47b1",
"rgb": {
"r": 42,
"g": 71,
"b": 177
},
"hsl": {
"h": 227.111,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.44445,
"c": 0.17196,
"h": 267.2
},
"luminance": 0.08173
}Semantic roles & 50–950 ramp
primary
#2A47B1
secondary
#C6B470
accent
#C243E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82