#513CDF#513CDF

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

Color values

HEX#513CDF
RGBrgb(81, 60, 223)
HSLhsl(248, 72%, 55%)
HSVhsv(248, 73%, 87%)
CMYKcmyk(63.7%, 73.1%, 0%, 12.5%)
CIE-LABlab(38.39, 54.41, -79.51)
CIE-LCHlch(38.39, 96.35, 304.38°)
OKLaboklab(49.26% 0.0379 -0.2295)
OKLCHoklch(49.26% 0.233 279.4)
XYZxyz(18.3242, 10.3073, 70.8216)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CDF #CADF3C
analogous
#3C78DF #513CDF #A23CDF
triadic
#513CDF #DF513C #3CDF51
tetradic
#513CDF #DF3C78 #CADF3C #3CDFA2
square
#513CDF #DF3C78 #CADF3C #3CDFA2
split-complementary
#513CDF #DFA23C #78DF3C
monochromatic
#25178A #341FBF #513CDF #8071E8 #AFA5F0

Accessibility & contrast

On white

6.86
#513CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#513CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513CDF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CDF#FFFFFF#000000##FFFFFF
##513CDF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E4
Deuteranopia (green-blind)
#0054DC
Tritanopia (blue-blind)
#006A8A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #513cdf;
/* rgb */ color: rgb(81, 60, 223);
/* oklch */ color: oklch(49.3% 0.233 279.4);
Tailwind
colors: {
  custom: {
    50: '#9375ea',
    500: '#513cdf',
    950: '#000000',
  },
}
SCSS
$custom: #513cdf;
$custom-light: #9375ea;
$custom-dark: #000000;
JSON
{
  "hex": "#513cdf",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 223
  },
  "hsl": {
    "h": 247.73,
    "s": 71.806,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.23263,
    "h": 279.4
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#513CDF
secondary
#D5DD99
accent
#EF39D7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #513CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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