#513AC8#513AC8

#513AC8 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.207 H 282.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#513AC8
RGBrgb(81, 58, 200)
HSLhsl(250, 56%, 51%)
HSVhsv(250, 71%, 78%)
CMYKcmyk(59.5%, 71%, 0%, 21.6%)
CIE-LABlab(35.88, 48.55, -70.37)
CIE-LCHlch(35.88, 85.49, 304.60°)
OKLaboklab(46.83% 0.0439 -0.2028)
OKLCHoklch(46.83% 0.207 282.2)
XYZxyz(15.3285, 8.9445, 55.5511)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AC8 #B1C83A
analogous
#3A6AC8 #513AC8 #983AC8
triadic
#513AC8 #C8513A #3AC851
tetradic
#513AC8 #C83A6A #B1C83A #3AC898
square
#513AC8 #C83A6A #B1C83A #3AC898
split-complementary
#513AC8 #C8983A #6AC83A
monochromatic
#2A1E6A #3D2B9A #513AC8 #7B6AD5 #A69AE3

Accessibility & contrast

On white

7.53
#513AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#513AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513AC8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AC8#FFFFFF#000000##FFFFFF
##513AC81.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513ac8;
/* rgb */ color: rgb(81, 58, 200);
/* oklch */ color: oklch(46.8% 0.207 282.2);
Tailwind
colors: {
  custom: {
    50: '#8f73da',
    500: '#513ac8',
    950: '#000000',
  },
}
SCSS
$custom: #513ac8;
$custom-light: #8f73da;
$custom-dark: #000000;
JSON
{
  "hex": "#513ac8",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 249.718,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4683,
    "c": 0.20747,
    "h": 282.2
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#513AC8
secondary
#C4CE8F
accent
#E048C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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