#513ED2#513ED2

#513ED2 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.3% C 0.215 H 280.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#513ED2
RGBrgb(81, 62, 210)
HSLhsl(248, 62%, 53%)
HSVhsv(248, 70%, 82%)
CMYKcmyk(61.4%, 70.5%, 0%, 17.6%)
CIE-LABlab(37.57, 49.41, -73.40)
CIE-LCHlch(37.57, 88.48, 303.95°)
OKLaboklab(48.31% 0.0391 -0.2116)
OKLCHoklch(48.31% 0.215 280.5)
XYZxyz(16.7451, 9.8465, 61.9784)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED2 #BFD23E
analogous
#3E75D2 #513ED2 #9B3ED2
triadic
#513ED2 #D2513E #3ED251
tetradic
#513ED2 #D23E75 #BFD23E #3ED29B
square
#513ED2 #D23E75 #BFD23E #3ED29B
split-complementary
#513ED2 #D29B3E #75D23E
monochromatic
#281C79 #3928AB #513ED2 #7E70DE #AAA1E9

Accessibility & contrast

On white

7.07
#513ED2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#513ED2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ED2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED2#FFFFFF#000000##FFFFFF
##513ED21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#006684
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513ed2;
/* rgb */ color: rgb(81, 62, 210);
/* oklch */ color: oklch(48.3% 0.215 280.5);
Tailwind
colors: {
  custom: {
    50: '#9075e1',
    500: '#513ed2',
    950: '#000000',
  },
}
SCSS
$custom: #513ed2;
$custom-light: #9075e1;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed2",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 247.703,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.21523,
    "h": 280.5
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#513ED2
secondary
#CED696
accent
#E543D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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