#2A47B0#2A47B0
#2A47B0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.171 H 267.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47B0 |
|---|---|
| RGB | rgb(42, 71, 176) |
| HSL | hsl(227, 61%, 43%) |
| HSV | hsv(227, 76%, 69%) |
| CMYK | cmyk(76.1%, 59.7%, 0%, 31%) |
| CIE-LAB | lab(34.26, 27.35, -59.00) |
| CIE-LCH | lch(34.26, 65.03, 294.87°) |
| OKLab | oklab(44.36% -0.0085 -0.1704) |
| OKLCH | oklch(44.36% 0.171 267.2) |
| XYZ | xyz(11.0418, 8.1321, 42.0536) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.04
Blue Blue
#2242C7
ΔE00 3.54
Sapphire (survey)
#2138AB
ΔE00 4.53
Sapphire
#0F52BA
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.58
Ocean Blue
#4F42B5
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47B0 #B0932A
analogous
#2A8AB0 #2A47B0 #502AB0
triadic
#2A47B0 #B02A47 #47B02A
tetradic
#2A47B0 #B02A8A #B0932A #2AB050
square
#2A47B0 #B02A8A #B0932A #2AB050
split-complementary
#2A47B0 #B0502A #8AB02A
monochromatic
#121F4D #1E337F #2A47B0 #4563D3 #768DDE
Accessibility & contrast
On white
8.00
#2A47B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2A47B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47B0
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47B0 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a47b0; /* rgb */ color: rgb(42, 71, 176); /* oklch */ color: oklch(44.4% 0.171 267.2);
Tailwind
colors: {
custom: {
50: '#7879c8',
500: '#2a47b0',
950: '#000000',
},
}SCSS
$custom: #2a47b0; $custom-light: #7879c8; $custom-dark: #000000;
JSON
{
"hex": "#2a47b0",
"rgb": {
"r": 42,
"g": 71,
"b": 176
},
"hsl": {
"h": 227.015,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.44359,
"c": 0.17061,
"h": 267.2
},
"luminance": 0.08133
}Semantic roles & 50–950 ramp
primary
#2A47B0
secondary
#C6B370
accent
#C243E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82