#513EB5#513EB5
#513EB5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.179 H 284.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #513EB5 |
|---|---|
| RGB | rgb(81, 62, 181) |
| HSL | hsl(250, 49%, 48%) |
| HSV | hsv(250, 66%, 71%) |
| CMYK | cmyk(55.2%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(35.06, 40.48, -60.54) |
| CIE-LCH | lch(35.06, 72.83, 303.77°) |
| OKLab | oklab(45.74% 0.0435 -0.174) |
| OKLCH | oklch(45.74% 0.179 284) |
| XYZ | xyz(13.4539, 8.5300, 44.6446) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.21
Blue With A Hint Of Purple
#533CC6
ΔE00 2.43
Blurple
#5539CC
ΔE00 3.39
Bluey Purple
#6241C7
ΔE00 3.74
Blueberry
#464196
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513EB5 #A2B53E
analogous
#3E66B5 #513EB5 #8D3EB5
triadic
#513EB5 #B5513E #3EB551
tetradic
#513EB5 #B53E66 #A2B53E #3EB58D
square
#513EB5 #B53E66 #A2B53E #3EB58D
split-complementary
#513EB5 #B58D3E #66B53E
monochromatic
#281F5A #3D2E87 #513EB5 #7666CA #9F93DA
Accessibility & contrast
On white
7.76
#513EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#513EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513EB5
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513EB5 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#235C74
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #513eb5; /* rgb */ color: rgb(81, 62, 181); /* oklch */ color: oklch(45.7% 0.179 284.0);
Tailwind
colors: {
custom: {
50: '#8b74cc',
500: '#513eb5',
950: '#000000',
},
}SCSS
$custom: #513eb5; $custom-light: #8b74cc; $custom-dark: #000000;
JSON
{
"hex": "#513eb5",
"rgb": {
"r": 81,
"g": 62,
"b": 181
},
"hsl": {
"h": 249.58,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.45742,
"c": 0.17933,
"h": 284
},
"luminance": 0.08531
}Semantic roles & 50–950 ramp
primary
#513EB5
secondary
#BCC589
accent
#D94FC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82