#513FCD#513FCD

#513FCD is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.0% C 0.208 H 280.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#513FCD
RGBrgb(81, 63, 205)
HSLhsl(248, 59%, 53%)
HSVhsv(248, 69%, 80%)
CMYKcmyk(60.5%, 69.3%, 0%, 19.6%)
CIE-LABlab(37.32, 47.33, -70.91)
CIE-LCHlch(37.32, 85.25, 303.72°)
OKLaboklab(48% 0.0392 -0.2044)
OKLCHoklch(48% 0.208 280.9)
XYZxyz(16.1868, 9.7110, 58.7672)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FCD #BBCD3F
analogous
#3F74CD #513FCD #983FCD
triadic
#513FCD #CD513F #3FCD51
tetradic
#513FCD #CD3F74 #BBCD3F #3FCD98
square
#513FCD #CD3F74 #BBCD3F #3FCD98
split-complementary
#513FCD #CD983F #74CD3F
monochromatic
#291E74 #3A2BA4 #513FCD #7D70DA #A9A0E6

Accessibility & contrast

On white

7.14
#513FCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#513FCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FCD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FCD#FFFFFF#000000##FFFFFF
##513FCD1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513fcd;
/* rgb */ color: rgb(81, 63, 205);
/* oklch */ color: oklch(48.0% 0.208 280.9);
Tailwind
colors: {
  custom: {
    50: '#8f76dd',
    500: '#513fcd',
    950: '#000000',
  },
}
SCSS
$custom: #513fcd;
$custom-light: #8f76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#513fcd",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 247.606,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.2081,
    "h": 280.9
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#513FCD
secondary
#CBD395
accent
#E246CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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