#5345C3#5345C3
#5345C3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.188 H 281.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5345C3 |
|---|---|
| RGB | rgb(83, 69, 195) |
| HSL | hsl(247, 51%, 52%) |
| HSV | hsv(247, 65%, 76%) |
| CMYK | cmyk(57.4%, 64.6%, 0%, 23.5%) |
| CIE-LAB | lab(37.90, 41.08, -64.13) |
| CIE-LCH | lch(37.90, 76.16, 302.64°) |
| OKLab | oklab(48.2% 0.0382 -0.1844) |
| OKLCH | oklch(48.2% 0.188 281.7) |
| XYZ | xyz(15.5427, 10.0344, 52.7370) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.22
Blue With A Hint Of Purple
#533CC6
ΔE00 2.34
Bluey Purple
#6241C7
ΔE00 2.73
Blurple
#5539CC
ΔE00 3.17
Blue Blue
#2242C7
ΔE00 5.27
Iris
#6258C4
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5345C3 #B5C345
analogous
#4576C3 #5345C3 #9245C3
triadic
#5345C3 #C35345 #45C353
tetradic
#5345C3 #C34576 #B5C345 #45C392
square
#5345C3 #C34576 #B5C345 #45C392
split-complementary
#5345C3 #C39245 #76C345
monochromatic
#2B236B #3D3199 #5345C3 #7E73D2 #A9A2E1
Accessibility & contrast
On white
6.98
#5345C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#5345C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5345C3
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5345C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5345C3 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#13657E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5345c3; /* rgb */ color: rgb(83, 69, 195); /* oklch */ color: oklch(48.2% 0.188 281.7);
Tailwind
colors: {
custom: {
50: '#8e7ad6',
500: '#5345c3',
950: '#000000',
},
}SCSS
$custom: #5345c3; $custom-light: #8e7ad6; $custom-dark: #000000;
JSON
{
"hex": "#5345c3",
"rgb": {
"r": 83,
"g": 69,
"b": 195
},
"hsl": {
"h": 246.667,
"s": 51.22,
"l": 51.765
},
"oklch": {
"l": 0.48198,
"c": 0.18834,
"h": 281.7
},
"luminance": 0.10035
}Semantic roles & 50–950 ramp
primary
#5345C3
secondary
#C7CE96
accent
#DB4DCB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83