#513BC2#513BC2

#513BC2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.4% C 0.199 H 282.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#513BC2
RGBrgb(81, 59, 194)
HSLhsl(250, 53%, 50%)
HSVhsv(250, 70%, 76%)
CMYKcmyk(58.2%, 69.6%, 0%, 23.9%)
CIE-LABlab(35.54, 46.18, -67.42)
CIE-LCHlch(35.54, 81.72, 304.41°)
OKLaboklab(46.43% 0.0443 -0.1941)
OKLCHoklch(46.43% 0.199 282.8)
XYZxyz(14.6919, 8.7713, 51.9473)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BC2 #ACC23B
analogous
#3B68C2 #513BC2 #953BC2
triadic
#513BC2 #C2513B #3BC251
tetradic
#513BC2 #C23B68 #ACC23B #3BC295
square
#513BC2 #C23B68 #ACC23B #3BC295
split-complementary
#513BC2 #C2953B #68C23B
monochromatic
#2A1E64 #3D2D93 #513BC2 #7A69D1 #A398E0

Accessibility & contrast

On white

7.62
#513BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#513BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BC2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BC2#FFFFFF#000000##FFFFFF
##513BC21.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#0B5F7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513bc2;
/* rgb */ color: rgb(81, 59, 194);
/* oklch */ color: oklch(46.4% 0.199 282.8);
Tailwind
colors: {
  custom: {
    50: '#8e73d6',
    500: '#513bc2',
    950: '#000000',
  },
}
SCSS
$custom: #513bc2;
$custom-light: #8e73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#513bc2",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 249.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.19911,
    "h": 282.8
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#513BC2
secondary
#C1CB8E
accent
#DD4BC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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