#5347C6#5347C6
#5347C6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.8% C 0.190 H 281.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5347C6 |
|---|---|
| RGB | rgb(83, 71, 198) |
| HSL | hsl(246, 53%, 53%) |
| HSV | hsv(246, 64%, 78%) |
| CMYK | cmyk(58.1%, 64.1%, 0%, 22.4%) |
| CIE-LAB | lab(38.59, 40.84, -64.76) |
| CIE-LCH | lch(38.59, 76.56, 302.24°) |
| OKLab | oklab(48.77% 0.0361 -0.1863) |
| OKLCH | oklch(48.77% 0.19 281) |
| XYZ | xyz(16.0104, 10.4216, 54.5830) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.81
Blue With A Hint Of Purple
#533CC6
ΔE00 2.86
Bluey Purple
#6241C7
ΔE00 2.97
Blurple
#5539CC
ΔE00 3.58
Iris
#6258C4
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5347C6 #BAC647
analogous
#477BC6 #5347C6 #9247C6
triadic
#5347C6 #C65347 #47C653
tetradic
#5347C6 #C6477B #BAC647 #47C692
square
#5347C6 #C6477B #BAC647 #47C692
split-complementary
#5347C6 #C69247 #7BC647
monochromatic
#2A2370 #3B319F #5347C6 #7F76D4 #AAA4E3
Accessibility & contrast
On white
6.81
#5347C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#5347C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5347C6
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5347C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5347C6 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#096780
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5347c6; /* rgb */ color: rgb(83, 71, 198); /* oklch */ color: oklch(48.8% 0.190 281.0);
Tailwind
colors: {
custom: {
50: '#8f7bd8',
500: '#5347c6',
950: '#000000',
},
}SCSS
$custom: #5347c6; $custom-light: #8f7bd8; $custom-dark: #000000;
JSON
{
"hex": "#5347c6",
"rgb": {
"r": 83,
"g": 71,
"b": 198
},
"hsl": {
"h": 245.669,
"s": 52.697,
"l": 52.745
},
"oklch": {
"l": 0.48771,
"c": 0.18974,
"h": 281
},
"luminance": 0.10423
}Semantic roles & 50–950 ramp
primary
#5347C6
secondary
#CBD099
accent
#DC4CCE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0915
muted
#7E7B83