#2A47BD#2A47BD
#2A47BD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.188 H 267.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47BD |
|---|---|
| RGB | rgb(42, 71, 189) |
| HSL | hsl(228, 64%, 45%) |
| HSV | hsv(228, 78%, 74%) |
| CMYK | cmyk(77.8%, 62.4%, 0%, 25.9%) |
| CIE-LAB | lab(35.34, 32.21, -64.90) |
| CIE-LCH | lch(35.34, 72.46, 296.40°) |
| OKLab | oklab(45.5% -0.0085 -0.1877) |
| OKLCH | oklch(45.5% 0.188 267.4) |
| XYZ | xyz(12.3902, 8.6714, 49.1550) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.98
Blue (survey)
#0343DF
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 4.88
Sapphire
#0F52BA
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47BD #BDA02A
analogous
#2A91BD #2A47BD #562ABD
triadic
#2A47BD #BD2A47 #47BD2A
tetradic
#2A47BD #BD2A91 #BDA02A #2ABD56
square
#2A47BD #BD2A91 #BDA02A #2ABD56
split-complementary
#2A47BD #BD562A #91BD2A
monochromatic
#142159 #1F348B #2A47BD #4D68D7 #7F93E3
Accessibility & contrast
On white
7.68
#2A47BD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2A47BD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47BD
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47BD | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a47bd; /* rgb */ color: rgb(42, 71, 189); /* oklch */ color: oklch(45.5% 0.188 267.4);
Tailwind
colors: {
custom: {
50: '#7b7ad2',
500: '#2a47bd',
950: '#000000',
},
}SCSS
$custom: #2a47bd; $custom-light: #7b7ad2; $custom-dark: #000000;
JSON
{
"hex": "#2a47bd",
"rgb": {
"r": 42,
"g": 71,
"b": 189
},
"hsl": {
"h": 228.163,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.45504,
"c": 0.18789,
"h": 267.4
},
"luminance": 0.08673
}Semantic roles & 50–950 ramp
primary
#2A47BD
secondary
#CBBB78
accent
#C641E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83