#513EC2#513EC2

#513EC2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.9% C 0.196 H 282.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#513EC2
RGBrgb(81, 62, 194)
HSLhsl(249, 52%, 50%)
HSVhsv(249, 68%, 76%)
CMYKcmyk(58.2%, 68%, 0%, 23.9%)
CIE-LABlab(36.15, 44.50, -66.41)
CIE-LCHlch(36.15, 79.94, 303.82°)
OKLaboklab(46.87% 0.0418 -0.1912)
OKLCHoklch(46.87% 0.196 282.3)
XYZxyz(14.8505, 9.0886, 52.0002)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EC2 #AFC23E
analogous
#3E6DC2 #513EC2 #933EC2
triadic
#513EC2 #C2513E #3EC251
tetradic
#513EC2 #C23E6D #AFC23E #3EC293
square
#513EC2 #C23E6D #AFC23E #3EC293
split-complementary
#513EC2 #C2933E #6DC23E
monochromatic
#2A2066 #3D2F94 #513EC2 #7B6DD1 #A59BDF

Accessibility & contrast

On white

7.45
#513EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#513EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EC2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EC2#FFFFFF#000000##FFFFFF
##513EC21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#0A607B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513ec2;
/* rgb */ color: rgb(81, 62, 194);
/* oklch */ color: oklch(46.9% 0.196 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e75d5',
    500: '#513ec2',
    950: '#000000',
  },
}
SCSS
$custom: #513ec2;
$custom-light: #8e75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#513ec2",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 248.636,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46867,
    "c": 0.19569,
    "h": 282.3
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#513EC2
secondary
#C3CB90
accent
#DB4CC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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