#5347C2#5347C2
#5347C2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.185 H 281.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5347C2 |
|---|---|
| RGB | rgb(83, 71, 194) |
| HSL | hsl(246, 50%, 52%) |
| HSV | hsv(246, 63%, 76%) |
| CMYK | cmyk(57.2%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(38.27, 39.58, -62.95) |
| CIE-LCH | lch(38.27, 74.36, 302.16°) |
| OKLab | oklab(48.44% 0.0365 -0.1809) |
| OKLCH | oklch(48.44% 0.185 281.4) |
| XYZ | xyz(15.5551, 10.2395, 52.1852) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.34
Blue With A Hint Of Purple
#533CC6
ΔE00 2.91
Bluey Purple
#6241C7
ΔE00 3.07
Blurple
#5539CC
ΔE00 3.74
Iris
#6258C4
ΔE00 5.28
Blue Blue
#2242C7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5347C2 #B6C247
analogous
#4778C2 #5347C2 #9147C2
triadic
#5347C2 #C25347 #47C253
tetradic
#5347C2 #C24778 #B6C247 #47C291
square
#5347C2 #C24778 #B6C247 #47C291
split-complementary
#5347C2 #C29147 #78C247
monochromatic
#2A246B #3D3399 #5347C2 #7E75D1 #A9A3E0
Accessibility & contrast
On white
6.89
#5347C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#5347C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5347C2
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5347C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5347C2 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#15657E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5347c2; /* rgb */ color: rgb(83, 71, 194); /* oklch */ color: oklch(48.4% 0.185 281.4);
Tailwind
colors: {
custom: {
50: '#8e7bd5',
500: '#5347c2',
950: '#000000',
},
}SCSS
$custom: #5347c2; $custom-light: #8e7bd5; $custom-dark: #000000;
JSON
{
"hex": "#5347c2",
"rgb": {
"r": 83,
"g": 71,
"b": 194
},
"hsl": {
"h": 245.854,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.48438,
"c": 0.18459,
"h": 281.4
},
"luminance": 0.10241
}Semantic roles & 50–950 ramp
primary
#5347C2
secondary
#C8CD97
accent
#DA4ECC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83