#513EE2#513EE2

#513EE2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.8% C 0.234 H 278.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#513EE2
RGBrgb(81, 62, 226)
HSLhsl(247, 74%, 56%)
HSVhsv(247, 73%, 89%)
CMYKcmyk(64.2%, 72.6%, 0%, 11.4%)
CIE-LABlab(39.04, 54.27, -80.15)
CIE-LCHlch(39.04, 96.79, 304.10°)
OKLaboklab(49.81% 0.036 -0.2314)
OKLCHoklch(49.81% 0.234 278.9)
XYZxyz(18.8390, 10.6840, 73.0062)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EE2 #CFE23E
analogous
#3E7DE2 #513EE2 #A33EE2
triadic
#513EE2 #E2513E #3EE251
tetradic
#513EE2 #E23E7D #CFE23E #3EE2A3
square
#513EE2 #E23E7D #CFE23E #3EE2A3
split-complementary
#513EE2 #E2A33E #7DE23E
monochromatic
#241690 #311EC5 #513EE2 #8173EA #B1A8F2

Accessibility & contrast

On white

6.69
#513EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#513EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513EE2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EE2#FFFFFF#000000##FFFFFF
##513EE21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#006C8D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #513ee2;
/* rgb */ color: rgb(81, 62, 226);
/* oklch */ color: oklch(49.8% 0.234 278.9);
Tailwind
colors: {
  custom: {
    50: '#9376ec',
    500: '#513ee2',
    950: '#000000',
  },
}
SCSS
$custom: #513ee2;
$custom-light: #9376ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513ee2",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 246.951,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.23417,
    "h": 278.9
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#513EE2
secondary
#D8E09C
accent
#F137DB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #513EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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