#513AD9#513AD9

#513AD9 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.4% C 0.228 H 280.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#513AD9
RGBrgb(81, 58, 217)
HSLhsl(249, 68%, 54%)
HSVhsv(249, 73%, 85%)
CMYKcmyk(62.7%, 73.3%, 0%, 14.9%)
CIE-LABlab(37.45, 53.66, -77.62)
CIE-LCHlch(37.45, 94.36, 304.66°)
OKLaboklab(48.43% 0.0404 -0.224)
OKLCHoklch(48.43% 0.228 280.2)
XYZxyz(17.4268, 9.7839, 66.6023)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AD9 #C2D93A
analogous
#3A73D9 #513AD9 #A13AD9
triadic
#513AD9 #D9513A #3AD951
tetradic
#513AD9 #D93A73 #C2D93A #3AD9A1
square
#513AD9 #D93A73 #C2D93A #3AD9A1
split-complementary
#513AD9 #D9A13A #73D93A
monochromatic
#281980 #3723B3 #513AD9 #7E6DE3 #ACA1ED

Accessibility & contrast

On white

7.10
#513AD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#513AD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513AD9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AD9#FFFFFF#000000##FFFFFF
##513AD91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDE
Deuteranopia (green-blind)
#0052D6
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513ad9;
/* rgb */ color: rgb(81, 58, 217);
/* oklch */ color: oklch(48.4% 0.228 280.2);
Tailwind
colors: {
  custom: {
    50: '#9273e6',
    500: '#513ad9',
    950: '#000000',
  },
}
SCSS
$custom: #513ad9;
$custom-light: #9273e6;
$custom-dark: #000000;
JSON
{
  "hex": "#513ad9",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 217
  },
  "hsl": {
    "h": 248.679,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48425,
    "c": 0.22759,
    "h": 280.2
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#513AD9
secondary
#D0D995
accent
#EB3DD1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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