#513EE5#513EE5

#513EE5 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.1% C 0.238 H 278.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#513EE5
RGBrgb(81, 62, 229)
HSLhsl(247, 76%, 57%)
HSVhsv(247, 73%, 90%)
CMYKcmyk(64.6%, 72.9%, 0%, 10.2%)
CIE-LABlab(39.33, 55.17, -81.39)
CIE-LCHlch(39.33, 98.33, 304.13°)
OKLaboklab(50.09% 0.0354 -0.235)
OKLCHoklch(50.09% 0.238 278.6)
XYZxyz(19.2543, 10.8501, 75.1932)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EE5 #D2E53E
analogous
#3E7FE5 #513EE5 #A43EE5
triadic
#513EE5 #E5513E #3EE551
tetradic
#513EE5 #E53E7F #D2E53E #3EE5A4
square
#513EE5 #E53E7F #D2E53E #3EE5A4
split-complementary
#513EE5 #E5A43E #7FE53E
monochromatic
#231495 #2F1BCB #513EE5 #8274EC #B2AAF4

Accessibility & contrast

On white

6.62
#513EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#513EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513EE5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EE5#FFFFFF#000000##FFFFFF
##513EE51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063EA
Deuteranopia (green-blind)
#0056E2
Tritanopia (blue-blind)
#006D8E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #513ee5;
/* rgb */ color: rgb(81, 62, 229);
/* oklch */ color: oklch(50.1% 0.238 278.6);
Tailwind
colors: {
  custom: {
    50: '#9476ef',
    500: '#513ee5',
    950: '#000000',
  },
}
SCSS
$custom: #513ee5;
$custom-light: #9476ef;
$custom-dark: #000000;
JSON
{
  "hex": "#513ee5",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 229
  },
  "hsl": {
    "h": 246.826,
    "s": 76.256,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.23766,
    "h": 278.6
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#513EE5
secondary
#DAE19D
accent
#F335DD
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #513EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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