#513BC8#513BC8

#513BC8 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.206 H 282.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#513BC8
RGBrgb(81, 59, 200)
HSLhsl(249, 56%, 51%)
HSVhsv(249, 71%, 78%)
CMYKcmyk(59.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(36.07, 48.01, -70.05)
CIE-LCHlch(36.07, 84.92, 304.43°)
OKLaboklab(46.97% 0.0432 -0.2018)
OKLCHoklch(46.97% 0.206 282.1)
XYZxyz(15.3794, 9.0463, 55.5681)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BC8 #B2C83B
analogous
#3B6BC8 #513BC8 #973BC8
triadic
#513BC8 #C8513B #3BC851
tetradic
#513BC8 #C83B6B #B2C83B #3BC897
square
#513BC8 #C83B6B #B2C83B #3BC897
split-complementary
#513BC8 #C8973B #6BC83B
monochromatic
#2A1E6B #3D2B9A #513BC8 #7B6BD5 #A69BE3

Accessibility & contrast

On white

7.47
#513BC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#513BC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BC8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BC8#FFFFFF#000000##FFFFFF
##513BC81.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513bc8;
/* rgb */ color: rgb(81, 59, 200);
/* oklch */ color: oklch(47.0% 0.206 282.1);
Tailwind
colors: {
  custom: {
    50: '#8f73da',
    500: '#513bc8',
    950: '#000000',
  },
}
SCSS
$custom: #513bc8;
$custom-light: #8f73da;
$custom-dark: #000000;
JSON
{
  "hex": "#513bc8",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 249.362,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4697,
    "c": 0.2064,
    "h": 282.1
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#513BC8
secondary
#C5CF90
accent
#DF48C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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