#513BC5#513BC5

#513BC5 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.7% C 0.203 H 282.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#513BC5
RGBrgb(81, 59, 197)
HSLhsl(250, 54%, 50%)
HSVhsv(250, 70%, 77%)
CMYKcmyk(58.9%, 70.1%, 0%, 22.7%)
CIE-LABlab(35.81, 47.09, -68.74)
CIE-LCHlch(35.81, 83.32, 304.42°)
OKLaboklab(46.7% 0.0437 -0.198)
OKLCHoklch(46.7% 0.203 282.5)
XYZxyz(15.0322, 8.9075, 53.7397)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BC5 #AFC53B
analogous
#3B6AC5 #513BC5 #963BC5
triadic
#513BC5 #C5513B #3BC551
tetradic
#513BC5 #C53B6A #AFC53B #3BC596
square
#513BC5 #C53B6A #AFC53B #3BC596
split-complementary
#513BC5 #C5963B #6AC53B
monochromatic
#2A1F67 #3D2C96 #513BC5 #7B6AD3 #A599E1

Accessibility & contrast

On white

7.55
#513BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#513BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BC5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BC5#FFFFFF#000000##FFFFFF
##513BC51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513bc5;
/* rgb */ color: rgb(81, 59, 197);
/* oklch */ color: oklch(46.7% 0.203 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e73d8',
    500: '#513bc5',
    950: '#000000',
  },
}
SCSS
$custom: #513bc5;
$custom-light: #8e73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#513bc5",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 249.565,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46697,
    "c": 0.20276,
    "h": 282.5
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#513BC5
secondary
#C3CD8F
accent
#DE4AC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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