#513AC9#513AC9

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

Color values

HEX#513AC9
RGBrgb(81, 58, 201)
HSLhsl(250, 57%, 51%)
HSVhsv(250, 71%, 79%)
CMYKcmyk(59.7%, 71.1%, 0%, 21.2%)
CIE-LABlab(35.97, 48.85, -70.80)
CIE-LCHlch(35.97, 86.02, 304.61°)
OKLaboklab(46.92% 0.0437 -0.204)
OKLCHoklch(46.92% 0.209 282.1)
XYZxyz(15.4457, 8.9914, 56.1686)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AC9 #B2C93A
analogous
#3A6AC9 #513AC9 #983AC9
triadic
#513AC9 #C9513A #3AC951
tetradic
#513AC9 #C93A6A #B2C93A #3AC998
square
#513AC9 #C93A6A #B2C93A #3AC998
split-complementary
#513AC9 #C9983A #6AC93A
monochromatic
#2A1D6B #3D2B9B #513AC9 #7B6AD6 #A69AE3

Accessibility & contrast

On white

7.50
#513AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513AC9
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AC9#FFFFFF#000000##FFFFFF
##513AC91.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513ac9;
/* rgb */ color: rgb(81, 58, 201);
/* oklch */ color: oklch(46.9% 0.209 282.1);
Tailwind
colors: {
  custom: {
    50: '#8f73db',
    500: '#513ac9',
    950: '#000000',
  },
}
SCSS
$custom: #513ac9;
$custom-light: #8f73db;
$custom-dark: #000000;
JSON
{
  "hex": "#513ac9",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 249.65,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.20868,
    "h": 282.1
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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