#513EB9#513EB9

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

Color values

HEX#513EB9
RGBrgb(81, 62, 185)
HSLhsl(249, 50%, 48%)
HSVhsv(249, 66%, 73%)
CMYKcmyk(56.2%, 66.5%, 0%, 27.5%)
CIE-LABlab(35.39, 41.72, -62.37)
CIE-LCHlch(35.39, 75.03, 303.78°)
OKLaboklab(46.08% 0.043 -0.1793)
OKLCHoklch(46.08% 0.184 283.5)
XYZxyz(13.8702, 8.6965, 46.8373)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EB9 #A6B93E
analogous
#3E68B9 #513EB9 #8E3EB9
triadic
#513EB9 #B9513E #3EB951
tetradic
#513EB9 #B93E68 #A6B93E #3EB98E
square
#513EB9 #B93E68 #A6B93E #3EB98E
split-complementary
#513EB9 #B98E3E #68B93E
monochromatic
#291F5D #3D2F8B #513EB9 #7768CC #A196DC

Accessibility & contrast

On white

7.67
#513EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513EB9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EB9#FFFFFF#000000##FFFFFF
##513EB91.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#1E5D76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513eb9;
/* rgb */ color: rgb(81, 62, 185);
/* oklch */ color: oklch(46.1% 0.184 283.5);
Tailwind
colors: {
  custom: {
    50: '#8c75cf',
    500: '#513eb9',
    950: '#000000',
  },
}
SCSS
$custom: #513eb9;
$custom-light: #8c75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#513eb9",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 249.268,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.18441,
    "h": 283.5
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#513EB9
secondary
#BEC78C
accent
#D94EC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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