#513ED8#513ED8

#513ED8 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.222 H 279.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#513ED8
RGBrgb(81, 62, 216)
HSLhsl(247, 66%, 55%)
HSVhsv(247, 71%, 85%)
CMYKcmyk(62.5%, 71.3%, 0%, 15.3%)
CIE-LABlab(38.11, 51.24, -75.96)
CIE-LCHlch(38.11, 91.62, 304.00°)
OKLaboklab(48.86% 0.038 -0.2191)
OKLCHoklch(48.86% 0.222 279.8)
XYZxyz(17.5067, 10.1511, 65.9892)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED8 #C5D83E
analogous
#3E78D8 #513ED8 #9E3ED8
triadic
#513ED8 #D8513E #3ED851
tetradic
#513ED8 #D83E78 #C5D83E #3ED89E
square
#513ED8 #D83E78 #C5D83E #3ED89E
split-complementary
#513ED8 #D89E3E #78D83E
monochromatic
#271A81 #3624B4 #513ED8 #7F71E2 #ADA4ED

Accessibility & contrast

On white

6.93
#513ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#513ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513ED8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED8#FFFFFF#000000##FFFFFF
##513ED81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDD
Deuteranopia (green-blind)
#0054D5
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #513ed8;
/* rgb */ color: rgb(81, 62, 216);
/* oklch */ color: oklch(48.9% 0.222 279.8);
Tailwind
colors: {
  custom: {
    50: '#9176e5',
    500: '#513ed8',
    950: '#000000',
  },
}
SCSS
$custom: #513ed8;
$custom-light: #9176e5;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed8",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 247.403,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.2224,
    "h": 279.8
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#513ED8
secondary
#D1D998
accent
#E93ED4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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