#513CBE#513CBE

#513CBE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.2% C 0.193 H 283.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#513CBE
RGBrgb(81, 60, 190)
HSLhsl(250, 52%, 49%)
HSVhsv(250, 68%, 75%)
CMYKcmyk(57.4%, 68.4%, 0%, 25.5%)
CIE-LABlab(35.40, 44.40, -65.31)
CIE-LCHlch(35.40, 78.97, 304.21°)
OKLaboklab(46.22% 0.0441 -0.1879)
OKLCHoklch(46.22% 0.193 283.2)
XYZxyz(14.3006, 8.6978, 49.6305)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CBE #A9BE3C
analogous
#3C68BE #513CBE #923CBE
triadic
#513CBE #BE513C #3CBE51
tetradic
#513CBE #BE3C68 #A9BE3C #3CBE92
square
#513CBE #BE3C68 #A9BE3C #3CBE92
split-complementary
#513CBE #BE923C #68BE3C
monochromatic
#291F61 #3D2D8F #513CBE #7968CF #A296DE

Accessibility & contrast

On white

7.66
#513CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#513CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CBE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CBE#FFFFFF#000000##FFFFFF
##513CBE1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513cbe;
/* rgb */ color: rgb(81, 60, 190);
/* oklch */ color: oklch(46.2% 0.193 283.2);
Tailwind
colors: {
  custom: {
    50: '#8d73d3',
    500: '#513cbe',
    950: '#000000',
  },
}
SCSS
$custom: #513cbe;
$custom-light: #8d73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513cbe",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 249.692,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.19304,
    "h": 283.2
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#513CBE
secondary
#C0CA8C
accent
#DB4CC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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