#2A47C2#2A47C2
#2A47C2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.194 H 267.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47C2 |
|---|---|
| RGB | rgb(42, 71, 194) |
| HSL | hsl(229, 64%, 46%) |
| HSV | hsv(229, 78%, 76%) |
| CMYK | cmyk(78.4%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(35.78, 34.06, -67.12) |
| CIE-LCH | lch(35.78, 75.27, 296.90°) |
| OKLab | oklab(45.96% -0.0085 -0.1942) |
| OKLCH | oklch(45.96% 0.194 267.5) |
| XYZ | xyz(12.9423, 8.8923, 52.0628) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.59
Blue (survey)
#0343DF
ΔE00 3.60
Cobalt
#0047AB
ΔE00 4.85
Sapphire
#0F52BA
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.21
Ocean Blue
#4F42B5
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47C2 #C2A52A
analogous
#2A93C2 #2A47C2 #592AC2
triadic
#2A47C2 #C22A47 #47C22A
tetradic
#2A47C2 #C22A93 #C2A52A #2AC259
square
#2A47C2 #C22A93 #C2A52A #2AC259
split-complementary
#2A47C2 #C2592A #93C22A
monochromatic
#14225D #1F3590 #2A47C2 #506AD9 #8295E4
Accessibility & contrast
On white
7.56
#2A47C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2A47C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47C2
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47C2 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a47c2; /* rgb */ color: rgb(42, 71, 194); /* oklch */ color: oklch(46.0% 0.194 267.5);
Tailwind
colors: {
custom: {
50: '#7c7ad5',
500: '#2a47c2',
950: '#000000',
},
}SCSS
$custom: #2a47c2; $custom-light: #7c7ad5; $custom-dark: #000000;
JSON
{
"hex": "#2a47c2",
"rgb": {
"r": 42,
"g": 71,
"b": 194
},
"hsl": {
"h": 228.553,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.45956,
"c": 0.1944,
"h": 267.5
},
"luminance": 0.08894
}Semantic roles & 50–950 ramp
primary
#2A47C2
secondary
#CDBD7B
accent
#C840E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83