#513AE6#513AE6

#513AE6 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.7% C 0.243 H 278.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#513AE6
RGBrgb(81, 58, 230)
HSLhsl(248, 77%, 56%)
HSVhsv(248, 75%, 90%)
CMYKcmyk(64.8%, 74.8%, 0%, 9.8%)
CIE-LABlab(38.70, 57.51, -82.99)
CIE-LCHlch(38.70, 100.97, 304.72°)
OKLaboklab(49.68% 0.0375 -0.2396)
OKLCHoklch(49.68% 0.243 278.9)
XYZxyz(19.1847, 10.4870, 75.8608)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AE6 #CFE63A
analogous
#3A79E6 #513AE6 #A73AE6
triadic
#513AE6 #E6513A #3AE651
tetradic
#513AE6 #E63A79 #CFE63A #3AE6A7
square
#513AE6 #E63A79 #CFE63A #3AE6A7
split-complementary
#513AE6 #E6A73A #79E63A
monochromatic
#241393 #311AC9 #513AE6 #8170ED #B1A7F4

Accessibility & contrast

On white

6.78
#513AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#513AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513AE6
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AE6#FFFFFF#000000##FFFFFF
##513AE61.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062EB
Deuteranopia (green-blind)
#0054E3
Tritanopia (blue-blind)
#006C8E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #513ae6;
/* rgb */ color: rgb(81, 58, 230);
/* oklch */ color: oklch(49.7% 0.243 278.9);
Tailwind
colors: {
  custom: {
    50: '#9474ef',
    500: '#513ae6',
    950: '#000000',
  },
}
SCSS
$custom: #513ae6;
$custom-light: #9474ef;
$custom-dark: #000000;
JSON
{
  "hex": "#513ae6",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 230
  },
  "hsl": {
    "h": 248.023,
    "s": 77.477,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.24256,
    "h": 278.9
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#513AE6
secondary
#D8E19B
accent
#F434DA
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #513AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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