#513FCC#513FCC
#513FCC is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.207 H 281.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #513FCC |
|---|---|
| RGB | rgb(81, 63, 204) |
| HSL | hsl(248, 58%, 52%) |
| HSV | hsv(248, 69%, 80%) |
| CMYK | cmyk(60.3%, 69.1%, 0%, 20%) |
| CIE-LAB | lab(37.23, 47.02, -70.47) |
| CIE-LCH | lch(37.23, 84.72, 303.71°) |
| OKLab | oklab(47.91% 0.0394 -0.2031) |
| OKLCH | oklch(47.91% 0.207 281) |
| XYZ | xyz(16.0665, 9.6628, 58.1335) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.17
Blurple
#5539CC
ΔE00 1.55
Bluey Purple
#6241C7
ΔE00 2.63
Ocean Blue
#4F42B5
ΔE00 3.29
Purpley Blue
#5F34E7
ΔE00 4.30
Burple
#6832E3
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513FCC #BACC3F
analogous
#3F73CC #513FCC #983FCC
triadic
#513FCC #CC513F #3FCC51
tetradic
#513FCC #CC3F73 #BACC3F #3FCC98
square
#513FCC #CC3F73 #BACC3F #3FCC98
split-complementary
#513FCC #CC983F #73CC3F
monochromatic
#291E72 #3A2BA3 #513FCC #7D6FD9 #A9A0E6
Accessibility & contrast
On white
7.16
#513FCC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#513FCC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513FCC
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513FCC | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #513fcc; /* rgb */ color: rgb(81, 63, 204); /* oklch */ color: oklch(47.9% 0.207 281.0);
Tailwind
colors: {
custom: {
50: '#8f76dd',
500: '#513fcc',
950: '#000000',
},
}SCSS
$custom: #513fcc; $custom-light: #8f76dd; $custom-dark: #000000;
JSON
{
"hex": "#513fcc",
"rgb": {
"r": 81,
"g": 63,
"b": 204
},
"hsl": {
"h": 247.66,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.47906,
"c": 0.20689,
"h": 281
},
"luminance": 0.09664
}Semantic roles & 50–950 ramp
primary
#513FCC
secondary
#CAD295
accent
#E147CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83