#513AD2#513AD2

#513AD2 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.8% C 0.219 H 281.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#513AD2
RGBrgb(81, 58, 210)
HSLhsl(249, 63%, 53%)
HSVhsv(249, 72%, 82%)
CMYKcmyk(61.4%, 72.4%, 0%, 17.6%)
CIE-LABlab(36.79, 51.56, -74.66)
CIE-LCHlch(36.79, 90.74, 304.63°)
OKLaboklab(47.76% 0.0419 -0.2153)
OKLCHoklch(47.76% 0.219 281)
XYZxyz(16.5356, 9.4274, 61.9086)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AD2 #BBD23A
analogous
#3A6FD2 #513AD2 #9D3AD2
triadic
#513AD2 #D2513A #3AD251
tetradic
#513AD2 #D23A6F #BBD23A #3AD29D
square
#513AD2 #D23A6F #BBD23A #3AD29D
split-complementary
#513AD2 #D29D3A #6FD23A
monochromatic
#291B77 #3A26A8 #513AD2 #7D6CDD #A99EE9

Accessibility & contrast

On white

7.28
#513AD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#513AD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513AD2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AD2#FFFFFF#000000##FFFFFF
##513AD21.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006483
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513ad2;
/* rgb */ color: rgb(81, 58, 210);
/* oklch */ color: oklch(47.8% 0.219 281.0);
Tailwind
colors: {
  custom: {
    50: '#9173e1',
    500: '#513ad2',
    950: '#000000',
  },
}
SCSS
$custom: #513ad2;
$custom-light: #9173e1;
$custom-dark: #000000;
JSON
{
  "hex": "#513ad2",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 249.079,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.21938,
    "h": 281
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#513AD2
secondary
#CBD593
accent
#E642CD
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #513AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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