#513FC2#513FC2
#513FC2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 47.0% C 0.195 H 282.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #513FC2 |
|---|---|
| RGB | rgb(81, 63, 194) |
| HSL | hsl(248, 52%, 50%) |
| HSV | hsv(248, 68%, 76%) |
| CMYK | cmyk(58.2%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(36.36, 43.93, -66.07) |
| CIE-LCH | lch(36.36, 79.34, 303.62°) |
| OKLab | oklab(47.02% 0.0409 -0.1902) |
| OKLCH | oklch(47.02% 0.195 282.1) |
| XYZ | xyz(14.9054, 9.1984, 52.0185) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 0.97
Blurple
#5539CC
ΔE00 2.01
Ocean Blue
#4F42B5
ΔE00 2.06
Bluey Purple
#6241C7
ΔE00 2.75
Blue Blue
#2242C7
ΔE00 5.25
Purpley Blue
#5F34E7
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513FC2 #B0C23F
analogous
#3F6FC2 #513FC2 #923FC2
triadic
#513FC2 #C2513F #3FC251
tetradic
#513FC2 #C23F6F #B0C23F #3FC292
square
#513FC2 #C23F6F #B0C23F #3FC292
split-complementary
#513FC2 #C2923F #6FC23F
monochromatic
#2A2066 #3D2F95 #513FC2 #7B6DD1 #A59CE0
Accessibility & contrast
On white
7.39
#513FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#513FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513FC2
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513FC2 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#0A617B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #513fc2; /* rgb */ color: rgb(81, 63, 194); /* oklch */ color: oklch(47.0% 0.195 282.1);
Tailwind
colors: {
custom: {
50: '#8d76d5',
500: '#513fc2',
950: '#000000',
},
}SCSS
$custom: #513fc2; $custom-light: #8d76d5; $custom-dark: #000000;
JSON
{
"hex": "#513fc2",
"rgb": {
"r": 81,
"g": 63,
"b": 194
},
"hsl": {
"h": 248.244,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.47017,
"c": 0.19454,
"h": 282.1
},
"luminance": 0.09199
}Semantic roles & 50–950 ramp
primary
#513FC2
secondary
#C4CC91
accent
#DB4DC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83