#513CD2#513CD2

#513CD2 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.0% C 0.217 H 280.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#513CD2
RGBrgb(81, 60, 210)
HSLhsl(248, 63%, 53%)
HSVhsv(248, 71%, 82%)
CMYKcmyk(61.4%, 71.4%, 0%, 17.6%)
CIE-LABlab(37.18, 50.50, -74.04)
CIE-LCHlch(37.18, 89.62, 304.30°)
OKLaboklab(48.03% 0.0405 -0.2135)
OKLCHoklch(48.03% 0.217 280.8)
XYZxyz(16.6384, 9.6330, 61.9428)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CD2 #BDD23C
analogous
#3C72D2 #513CD2 #9C3CD2
triadic
#513CD2 #D2513C #3CD251
tetradic
#513CD2 #D23C72 #BDD23C #3CD29C
square
#513CD2 #D23C72 #BDD23C #3CD29C
split-complementary
#513CD2 #D29C3C #72D23C
monochromatic
#291C78 #3927AA #513CD2 #7D6EDD #AA9FE9

Accessibility & contrast

On white

7.18
#513CD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#513CD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CD2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CD2#FFFFFF#000000##FFFFFF
##513CD21.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513cd2;
/* rgb */ color: rgb(81, 60, 210);
/* oklch */ color: oklch(48.0% 0.217 280.8);
Tailwind
colors: {
  custom: {
    50: '#9074e1',
    500: '#513cd2',
    950: '#000000',
  },
}
SCSS
$custom: #513cd2;
$custom-light: #9074e1;
$custom-dark: #000000;
JSON
{
  "hex": "#513cd2",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 248.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.21733,
    "h": 280.8
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#513CD2
secondary
#CCD594
accent
#E642CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #513CD2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#513CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva