#513CD5#513CD5

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

Color values

HEX#513CD5
RGBrgb(81, 60, 213)
HSLhsl(248, 65%, 54%)
HSVhsv(248, 72%, 84%)
CMYKcmyk(62%, 71.8%, 0%, 16.5%)
CIE-LABlab(37.45, 51.40, -75.31)
CIE-LCHlch(37.45, 91.18, 304.31°)
OKLaboklab(48.31% 0.04 -0.2172)
OKLCHoklch(48.31% 0.221 280.4)
XYZxyz(17.0156, 9.7839, 63.9297)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CD5 #C0D53C
analogous
#3C73D5 #513CD5 #9D3CD5
triadic
#513CD5 #D5513C #3CD551
tetradic
#513CD5 #D53C73 #C0D53C #3CD59D
square
#513CD5 #D53C73 #C0D53C #3CD59D
split-complementary
#513CD5 #D59D3C #73D53C
monochromatic
#281B7C #3826AE #513CD5 #7E6EE0 #ABA1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##513CD5#FFFFFF#000000##FFFFFF
##513CD51.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)
#005EDA
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513cd5;
/* rgb */ color: rgb(81, 60, 213);
/* oklch */ color: oklch(48.3% 0.221 280.4);
Tailwind
colors: {
  custom: {
    50: '#9174e3',
    500: '#513cd5',
    950: '#000000',
  },
}
SCSS
$custom: #513cd5;
$custom-light: #9174e3;
$custom-dark: #000000;
JSON
{
  "hex": "#513cd5",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 248.235,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.22089,
    "h": 280.4
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#513CD5
secondary
#CED796
accent
#E840D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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