#513CBD#513CBD

#513CBD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.1% C 0.192 H 283.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#513CBD
RGBrgb(81, 60, 189)
HSLhsl(250, 52%, 49%)
HSVhsv(250, 68%, 74%)
CMYKcmyk(57.1%, 68.3%, 0%, 25.9%)
CIE-LABlab(35.31, 44.09, -64.86)
CIE-LCHlch(35.31, 78.43, 304.21°)
OKLaboklab(46.13% 0.0442 -0.1866)
OKLCHoklch(46.13% 0.192 283.3)
XYZxyz(14.1917, 8.6543, 49.0569)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CBD #A8BD3C
analogous
#3C68BD #513CBD #923CBD
triadic
#513CBD #BD513C #3CBD51
tetradic
#513CBD #BD3C68 #A8BD3C #3CBD92
square
#513CBD #BD3C68 #A8BD3C #3CBD92
split-complementary
#513CBD #BD923C #68BD3C
monochromatic
#291F60 #3D2D8F #513CBD #7867CF #A196DE

Accessibility & contrast

On white

7.69
#513CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#513CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CBD
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CBD#FFFFFF#000000##FFFFFF
##513CBD1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#185E78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513cbd;
/* rgb */ color: rgb(81, 60, 189);
/* oklch */ color: oklch(46.1% 0.192 283.3);
Tailwind
colors: {
  custom: {
    50: '#8d73d2',
    500: '#513cbd',
    950: '#000000',
  },
}
SCSS
$custom: #513cbd;
$custom-light: #8d73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#513cbd",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 249.767,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46127,
    "c": 0.1918,
    "h": 283.3
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#513CBD
secondary
#BFC98C
accent
#DB4DC4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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