#513AE2#513AE2

#513AE2 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.3% C 0.238 H 279.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#513AE2
RGBrgb(81, 58, 226)
HSLhsl(248, 74%, 56%)
HSVhsv(248, 74%, 89%)
CMYKcmyk(64.2%, 74.3%, 0%, 11.4%)
CIE-LABlab(38.31, 56.33, -81.35)
CIE-LCHlch(38.31, 98.95, 304.70°)
OKLaboklab(49.29% 0.0384 -0.2349)
OKLCHoklch(49.29% 0.238 279.3)
XYZxyz(18.6295, 10.2649, 72.9364)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AE2 #CBE23A
analogous
#3A77E2 #513AE2 #A53AE2
triadic
#513AE2 #E2513A #3AE251
tetradic
#513AE2 #E23A77 #CBE23A #3AE2A5
square
#513AE2 #E23A77 #CBE23A #3AE2A5
split-complementary
#513AE2 #E2A53A #77E23A
monochromatic
#25158D #331DC2 #513AE2 #806FEA #AFA5F2

Accessibility & contrast

On white

6.88
#513AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#513AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513AE2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AE2#FFFFFF#000000##FFFFFF
##513AE21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E7
Deuteranopia (green-blind)
#0053DF
Tritanopia (blue-blind)
#006A8C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #513ae2;
/* rgb */ color: rgb(81, 58, 226);
/* oklch */ color: oklch(49.3% 0.238 279.3);
Tailwind
colors: {
  custom: {
    50: '#9474ec',
    500: '#513ae2',
    950: '#000000',
  },
}
SCSS
$custom: #513ae2;
$custom-light: #9474ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513ae2",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 226
  },
  "hsl": {
    "h": 248.214,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.23798,
    "h": 279.3
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#513AE2
secondary
#D5DF99
accent
#F137D7
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #513AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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