#513FB5#513FB5
#513FB5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.178 H 283.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #513FB5 |
|---|---|
| RGB | rgb(81, 63, 181) |
| HSL | hsl(249, 48%, 48%) |
| HSV | hsv(249, 65%, 71%) |
| CMYK | cmyk(55.2%, 65.2%, 0%, 29%) |
| CIE-LAB | lab(35.28, 39.89, -60.19) |
| CIE-LCH | lch(35.28, 72.21, 303.54°) |
| OKLab | oklab(45.9% 0.0426 -0.1729) |
| OKLCH | oklch(45.9% 0.178 283.8) |
| XYZ | xyz(13.5088, 8.6397, 44.6629) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 0.95
Blue With A Hint Of Purple
#533CC6
ΔE00 2.50
Blurple
#5539CC
ΔE00 3.49
Bluey Purple
#6241C7
ΔE00 3.71
Blueberry
#464196
ΔE00 5.31
Blue Blue
#2242C7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513FB5 #A3B53F
analogous
#3F68B5 #513FB5 #8C3FB5
triadic
#513FB5 #B5513F #3FB551
tetradic
#513FB5 #B53F68 #A3B53F #3FB58C
square
#513FB5 #B53F68 #A3B53F #3FB58C
split-complementary
#513FB5 #B58C3F #68B53F
monochromatic
#281F5A #3D2F88 #513FB5 #7667CA #9F94DA
Accessibility & contrast
On white
7.70
#513FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#513FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513FB5
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513FB5 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#235C74
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #513fb5; /* rgb */ color: rgb(81, 63, 181); /* oklch */ color: oklch(45.9% 0.178 283.8);
Tailwind
colors: {
custom: {
50: '#8b75cc',
500: '#513fb5',
950: '#000000',
},
}SCSS
$custom: #513fb5; $custom-light: #8b75cc; $custom-dark: #000000;
JSON
{
"hex": "#513fb5",
"rgb": {
"r": 81,
"g": 63,
"b": 181
},
"hsl": {
"h": 249.153,
"s": 48.361,
"l": 47.843
},
"oklch": {
"l": 0.459,
"c": 0.17809,
"h": 283.8
},
"luminance": 0.08641
}Semantic roles & 50–950 ramp
primary
#513FB5
secondary
#BCC58A
accent
#D850C3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82