#513EC8#513EC8

#513EC8 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.203 H 281.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#513EC8
RGBrgb(81, 62, 200)
HSLhsl(248, 56%, 51%)
HSVhsv(248, 69%, 78%)
CMYKcmyk(59.5%, 69%, 0%, 21.6%)
CIE-LABlab(36.68, 46.35, -69.06)
CIE-LCHlch(36.68, 83.17, 303.87°)
OKLaboklab(47.4% 0.0408 -0.1989)
OKLCHoklch(47.4% 0.203 281.6)
XYZxyz(15.5380, 9.3636, 55.6210)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EC8 #B5C83E
analogous
#3E70C8 #513EC8 #963EC8
triadic
#513EC8 #C8513E #3EC851
tetradic
#513EC8 #C83E70 #B5C83E #3EC896
square
#513EC8 #C83E70 #B5C83E #3EC896
split-complementary
#513EC8 #C8963E #70C83E
monochromatic
#2A1F6D #3C2D9C #513EC8 #7C6ED6 #A79DE3

Accessibility & contrast

On white

7.31
#513EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#513EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EC8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EC8#FFFFFF#000000##FFFFFF
##513EC81.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513ec8;
/* rgb */ color: rgb(81, 62, 200);
/* oklch */ color: oklch(47.4% 0.203 281.6);
Tailwind
colors: {
  custom: {
    50: '#8f75da',
    500: '#513ec8',
    950: '#000000',
  },
}
SCSS
$custom: #513ec8;
$custom-light: #8f75da;
$custom-dark: #000000;
JSON
{
  "hex": "#513ec8",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 248.261,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.474,
    "c": 0.2031,
    "h": 281.6
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#513EC8
secondary
#C7CF92
accent
#DF49CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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