#513CC5#513CC5

#513CC5 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.8% C 0.202 H 282.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#513CC5
RGBrgb(81, 60, 197)
HSLhsl(249, 54%, 50%)
HSVhsv(249, 70%, 77%)
CMYKcmyk(58.9%, 69.5%, 0%, 22.7%)
CIE-LABlab(36.01, 46.54, -68.41)
CIE-LCHlch(36.01, 82.74, 304.23°)
OKLaboklab(46.84% 0.0429 -0.197)
OKLCHoklch(46.84% 0.202 282.3)
XYZxyz(15.0841, 9.0113, 53.7570)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CC5 #B0C53C
analogous
#3C6BC5 #513CC5 #953CC5
triadic
#513CC5 #C5513C #3CC551
tetradic
#513CC5 #C53C6B #B0C53C #3CC595
square
#513CC5 #C53C6B #B0C53C #3CC595
split-complementary
#513CC5 #C5953C #6BC53C
monochromatic
#2A1F68 #3D2D97 #513CC5 #7B6BD3 #A59AE1

Accessibility & contrast

On white

7.49
#513CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#513CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CC5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CC5#FFFFFF#000000##FFFFFF
##513CC51.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513cc5;
/* rgb */ color: rgb(81, 60, 197);
/* oklch */ color: oklch(46.8% 0.202 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e74d8',
    500: '#513cc5',
    950: '#000000',
  },
}
SCSS
$custom: #513cc5;
$custom-light: #8e74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#513cc5",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 249.197,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.20165,
    "h": 282.3
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#513CC5
secondary
#C4CD90
accent
#DE4AC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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