#513EC3#513EC3

#513EC3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 47.0% C 0.197 H 282.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#513EC3
RGBrgb(81, 62, 195)
HSLhsl(249, 53%, 50%)
HSVhsv(249, 68%, 76%)
CMYKcmyk(58.5%, 68.2%, 0%, 23.5%)
CIE-LABlab(36.24, 44.81, -66.85)
CIE-LCHlch(36.24, 80.48, 303.83°)
OKLaboklab(46.96% 0.0416 -0.1925)
OKLCHoklch(46.96% 0.197 282.2)
XYZxyz(14.9632, 9.1337, 52.5937)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EC3 #B0C33E
analogous
#3E6EC3 #513EC3 #933EC3
triadic
#513EC3 #C3513E #3EC351
tetradic
#513EC3 #C33E6E #B0C33E #3EC393
square
#513EC3 #C33E6E #B0C33E #3EC393
split-complementary
#513EC3 #C3933E #6EC33E
monochromatic
#2A2067 #3D2E95 #513EC3 #7B6DD2 #A59BE0

Accessibility & contrast

On white

7.43
#513EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#513EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EC3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EC3#FFFFFF#000000##FFFFFF
##513EC31.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#07617B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513ec3;
/* rgb */ color: rgb(81, 62, 195);
/* oklch */ color: oklch(47.0% 0.197 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e75d6',
    500: '#513ec3',
    950: '#000000',
  },
}
SCSS
$custom: #513ec3;
$custom-light: #8e75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#513ec3",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 248.571,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.19694,
    "h": 282.2
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#513EC3
secondary
#C4CC91
accent
#DC4CC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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