#2A47C3#2A47C3
#2A47C3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.196 H 267.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47C3 |
|---|---|
| RGB | rgb(42, 71, 195) |
| HSL | hsl(229, 65%, 46%) |
| HSV | hsv(229, 78%, 76%) |
| CMYK | cmyk(78.5%, 63.6%, 0%, 23.5%) |
| CIE-LAB | lab(35.86, 34.43, -67.57) |
| CIE-LCH | lch(35.86, 75.83, 297.00°) |
| OKLab | oklab(46.05% -0.0086 -0.1955) |
| OKLCH | oklch(46.05% 0.196 267.5) |
| XYZ | xyz(13.0550, 8.9374, 52.6562) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.54
Blue (survey)
#0343DF
ΔE00 3.47
Cobalt
#0047AB
ΔE00 4.96
Sapphire
#0F52BA
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47C3 #C3A62A
analogous
#2A94C3 #2A47C3 #592AC3
triadic
#2A47C3 #C32A47 #47C32A
tetradic
#2A47C3 #C32A94 #C3A62A #2AC359
square
#2A47C3 #C32A94 #C3A62A #2AC359
split-complementary
#2A47C3 #C3592A #94C32A
monochromatic
#14225E #1F3591 #2A47C3 #516BD9 #8396E4
Accessibility & contrast
On white
7.53
#2A47C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2A47C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47C3
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47C3 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a47c3; /* rgb */ color: rgb(42, 71, 195); /* oklch */ color: oklch(46.0% 0.196 267.5);
Tailwind
colors: {
custom: {
50: '#7d7ad6',
500: '#2a47c3',
950: '#000000',
},
}SCSS
$custom: #2a47c3; $custom-light: #7d7ad6; $custom-dark: #000000;
JSON
{
"hex": "#2a47c3",
"rgb": {
"r": 42,
"g": 71,
"b": 195
},
"hsl": {
"h": 228.627,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.46048,
"c": 0.19569,
"h": 267.5
},
"luminance": 0.08939
}Semantic roles & 50–950 ramp
primary
#2A47C3
secondary
#CDBE7B
accent
#C840E8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83