#513CCD#513CCD

#513CCD is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.6% C 0.211 H 281.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#513CCD
RGBrgb(81, 60, 205)
HSLhsl(249, 59%, 52%)
HSVhsv(249, 71%, 80%)
CMYKcmyk(60.5%, 70.7%, 0%, 19.6%)
CIE-LABlab(36.72, 48.98, -71.89)
CIE-LCHlch(36.72, 86.99, 304.27°)
OKLaboklab(47.57% 0.0415 -0.2072)
OKLCHoklch(47.57% 0.211 281.3)
XYZxyz(16.0252, 9.3877, 58.7133)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CCD #B8CD3C
analogous
#3C6FCD #513CCD #9A3CCD
triadic
#513CCD #CD513C #3CCD51
tetradic
#513CCD #CD3C6F #B8CD3C #3CCD9A
square
#513CCD #CD3C6F #B8CD3C #3CCD9A
split-complementary
#513CCD #CD9A3C #6FCD3C
monochromatic
#291D71 #3B2AA2 #513CCD #7C6DD9 #A89DE6

Accessibility & contrast

On white

7.30
#513CCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#513CCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CCD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CCD#FFFFFF#000000##FFFFFF
##513CCD1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513ccd;
/* rgb */ color: rgb(81, 60, 205);
/* oklch */ color: oklch(47.6% 0.211 281.3);
Tailwind
colors: {
  custom: {
    50: '#9074dd',
    500: '#513ccd',
    950: '#000000',
  },
}
SCSS
$custom: #513ccd;
$custom-light: #9074dd;
$custom-dark: #000000;
JSON
{
  "hex": "#513ccd",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 248.69,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47569,
    "c": 0.21135,
    "h": 281.3
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#513CCD
secondary
#C9D293
accent
#E245CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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