#513ED3#513ED3

#513ED3 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.216 H 280.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#513ED3
RGBrgb(81, 62, 211)
HSLhsl(248, 63%, 54%)
HSVhsv(248, 71%, 83%)
CMYKcmyk(61.6%, 70.6%, 0%, 17.3%)
CIE-LABlab(37.66, 49.72, -73.83)
CIE-LCHlch(37.66, 89.01, 303.96°)
OKLaboklab(48.4% 0.0389 -0.2129)
OKLCHoklch(48.4% 0.216 280.4)
XYZxyz(16.8701, 9.8965, 62.6366)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED3 #C0D33E
analogous
#3E75D3 #513ED3 #9B3ED3
triadic
#513ED3 #D3513E #3ED351
tetradic
#513ED3 #D33E75 #C0D33E #3ED39B
square
#513ED3 #D33E75 #C0D33E #3ED39B
split-complementary
#513ED3 #D39B3E #75D33E
monochromatic
#281C7B #3827AC #513ED3 #7E70DE #ABA2EA

Accessibility & contrast

On white

7.05
#513ED3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#513ED3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ED3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED3#FFFFFF#000000##FFFFFF
##513ED31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0053D0
Tritanopia (blue-blind)
#006784
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513ed3;
/* rgb */ color: rgb(81, 62, 211);
/* oklch */ color: oklch(48.4% 0.216 280.4);
Tailwind
colors: {
  custom: {
    50: '#9175e2',
    500: '#513ed3',
    950: '#000000',
  },
}
SCSS
$custom: #513ed3;
$custom-light: #9175e2;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed3",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 247.651,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.21643,
    "h": 280.4
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#513ED3
secondary
#CED696
accent
#E642D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #513ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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