#513BC7#513BC7

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

Color values

HEX#513BC7
RGBrgb(81, 59, 199)
HSLhsl(249, 56%, 51%)
HSVhsv(249, 70%, 78%)
CMYKcmyk(59.3%, 70.4%, 0%, 22%)
CIE-LABlab(35.98, 47.70, -69.61)
CIE-LCHlch(35.98, 84.39, 304.42°)
OKLaboklab(46.88% 0.0434 -0.2006)
OKLCHoklch(46.88% 0.205 282.2)
XYZxyz(15.2629, 8.9997, 54.9546)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BC7 #B1C73B
analogous
#3B6BC7 #513BC7 #973BC7
triadic
#513BC7 #C7513B #3BC751
tetradic
#513BC7 #C73B6B #B1C73B #3BC797
square
#513BC7 #C73B6B #B1C73B #3BC797
split-complementary
#513BC7 #C7973B #6BC73B
monochromatic
#2A1E69 #3D2C99 #513BC7 #7B6BD5 #A69AE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##513BC7#FFFFFF#000000##FFFFFF
##513BC71.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)
#0059CB
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513bc7;
/* rgb */ color: rgb(81, 59, 199);
/* oklch */ color: oklch(46.9% 0.205 282.2);
Tailwind
colors: {
  custom: {
    50: '#8f73d9',
    500: '#513bc7',
    950: '#000000',
  },
}
SCSS
$custom: #513bc7;
$custom-light: #8f73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#513bc7",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 249.429,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.20519,
    "h": 282.2
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#513BC7
secondary
#C4CE90
accent
#DF49C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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