#513EB6#513EB6

#513EB6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.181 H 283.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#513EB6
RGBrgb(81, 62, 182)
HSLhsl(250, 49%, 48%)
HSVhsv(250, 66%, 71%)
CMYKcmyk(55.5%, 65.9%, 0%, 28.6%)
CIE-LABlab(35.15, 40.79, -61.00)
CIE-LCHlch(35.15, 73.38, 303.77°)
OKLaboklab(45.83% 0.0434 -0.1753)
OKLCHoklch(45.83% 0.181 283.9)
XYZxyz(13.5569, 8.5712, 45.1869)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EB6 #A3B63E
analogous
#3E67B6 #513EB6 #8D3EB6
triadic
#513EB6 #B6513E #3EB651
tetradic
#513EB6 #B63E67 #A3B63E #3EB68D
square
#513EB6 #B63E67 #A3B63E #3EB68D
split-complementary
#513EB6 #B68D3E #67B63E
monochromatic
#281F5B #3D2E88 #513EB6 #7666CB #9F94DB

Accessibility & contrast

On white

7.74
#513EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#513EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EB6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EB6#FFFFFF#000000##FFFFFF
##513EB61.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#225C74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513eb6;
/* rgb */ color: rgb(81, 62, 182);
/* oklch */ color: oklch(45.8% 0.181 283.9);
Tailwind
colors: {
  custom: {
    50: '#8c75cd',
    500: '#513eb6',
    950: '#000000',
  },
}
SCSS
$custom: #513eb6;
$custom-light: #8c75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#513eb6",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 249.5,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.1806,
    "h": 283.9
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#513EB6
secondary
#BCC68A
accent
#D94FC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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