#513EC4#513EC4

#513EC4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 47.0% C 0.198 H 282.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#513EC4
RGBrgb(81, 62, 196)
HSLhsl(249, 53%, 51%)
HSVhsv(249, 68%, 77%)
CMYKcmyk(58.7%, 68.4%, 0%, 23.1%)
CIE-LABlab(36.33, 45.11, -67.30)
CIE-LCHlch(36.33, 81.02, 303.84°)
OKLaboklab(47.04% 0.0415 -0.1938)
OKLCHoklch(47.04% 0.198 282.1)
XYZxyz(15.0767, 9.1791, 53.1911)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EC4 #B1C43E
analogous
#3E6EC4 #513EC4 #943EC4
triadic
#513EC4 #C4513E #3EC451
tetradic
#513EC4 #C43E6E #B1C43E #3EC494
square
#513EC4 #C43E6E #B1C43E #3EC494
split-complementary
#513EC4 #C4943E #6EC43E
monochromatic
#2A2068 #3D2E97 #513EC4 #7B6DD2 #A69CE1

Accessibility & contrast

On white

7.40
#513EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#513EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EC4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EC4#FFFFFF#000000##FFFFFF
##513EC41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#03617C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513ec4;
/* rgb */ color: rgb(81, 62, 196);
/* oklch */ color: oklch(47.0% 0.198 282.1);
Tailwind
colors: {
  custom: {
    50: '#8e75d7',
    500: '#513ec4',
    950: '#000000',
  },
}
SCSS
$custom: #513ec4;
$custom-light: #8e75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#513ec4",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 248.507,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.19817,
    "h": 282.1
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#513EC4
secondary
#C4CD91
accent
#DD4BC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #513EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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