#513ED5#513ED5

#513ED5 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.6% C 0.219 H 280.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#513ED5
RGBrgb(81, 62, 213)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 84%)
CMYKcmyk(62%, 70.9%, 0%, 16.5%)
CIE-LABlab(37.84, 50.33, -74.68)
CIE-LCHlch(37.84, 90.06, 303.98°)
OKLaboklab(48.59% 0.0386 -0.2154)
OKLCHoklch(48.59% 0.219 280.2)
XYZxyz(17.1224, 9.9974, 63.9653)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED5 #C2D53E
analogous
#3E77D5 #513ED5 #9D3ED5
triadic
#513ED5 #D5513E #3ED551
tetradic
#513ED5 #D53E77 #C2D53E #3ED59D
square
#513ED5 #D53E77 #C2D53E #3ED59D
split-complementary
#513ED5 #D59D3E #77D53E
monochromatic
#281B7D #3726B0 #513ED5 #7E70E0 #ACA3EB

Accessibility & contrast

On white

7.00
#513ED5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#513ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513ED5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED5#FFFFFF#000000##FFFFFF
##513ED51.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0053D2
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513ed5;
/* rgb */ color: rgb(81, 62, 213);
/* oklch */ color: oklch(48.6% 0.219 280.2);
Tailwind
colors: {
  custom: {
    50: '#9176e3',
    500: '#513ed5',
    950: '#000000',
  },
}
SCSS
$custom: #513ed5;
$custom-light: #9176e3;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed5",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 247.55,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.21883,
    "h": 280.2
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#513ED5
secondary
#D0D897
accent
#E741D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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