#513CBD#513CBD
#513CBD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.1% C 0.192 H 283.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #513CBD |
|---|---|
| RGB | rgb(81, 60, 189) |
| HSL | hsl(250, 52%, 49%) |
| HSV | hsv(250, 68%, 74%) |
| CMYK | cmyk(57.1%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(35.31, 44.09, -64.86) |
| CIE-LCH | lch(35.31, 78.43, 304.21°) |
| OKLab | oklab(46.13% 0.0442 -0.1866) |
| OKLCH | oklch(46.13% 0.192 283.3) |
| XYZ | xyz(14.1917, 8.6543, 49.0569) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.27
Ocean Blue
#4F42B5
ΔE00 2.04
Blurple
#5539CC
ΔE00 2.19
Bluey Purple
#6241C7
ΔE00 3.19
Purple Blue
#5D21D0
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513CBD #A8BD3C
analogous
#3C68BD #513CBD #923CBD
triadic
#513CBD #BD513C #3CBD51
tetradic
#513CBD #BD3C68 #A8BD3C #3CBD92
square
#513CBD #BD3C68 #A8BD3C #3CBD92
split-complementary
#513CBD #BD923C #68BD3C
monochromatic
#291F60 #3D2D8F #513CBD #7867CF #A196DE
Accessibility & contrast
On white
7.69
#513CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#513CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513CBD
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513CBD | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#185E78
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #513cbd; /* rgb */ color: rgb(81, 60, 189); /* oklch */ color: oklch(46.1% 0.192 283.3);
Tailwind
colors: {
custom: {
50: '#8d73d2',
500: '#513cbd',
950: '#000000',
},
}SCSS
$custom: #513cbd; $custom-light: #8d73d2; $custom-dark: #000000;
JSON
{
"hex": "#513cbd",
"rgb": {
"r": 81,
"g": 60,
"b": 189
},
"hsl": {
"h": 249.767,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.46127,
"c": 0.1918,
"h": 283.3
},
"luminance": 0.08655
}Semantic roles & 50–950 ramp
primary
#513CBD
secondary
#BFC98C
accent
#DB4DC4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83