#513EE1#513EE1

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

Color values

HEX#513EE1
RGBrgb(81, 62, 225)
HSLhsl(247, 73%, 56%)
HSVhsv(247, 72%, 88%)
CMYKcmyk(64%, 72.4%, 0%, 11.8%)
CIE-LABlab(38.95, 53.97, -79.73)
CIE-LCHlch(38.95, 96.28, 304.09°)
OKLaboklab(49.71% 0.0362 -0.2302)
OKLCHoklch(49.71% 0.233 278.9)
XYZxyz(18.7022, 10.6293, 72.2857)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EE1 #CEE13E
analogous
#3E7DE1 #513EE1 #A33EE1
triadic
#513EE1 #E1513E #3EE151
tetradic
#513EE1 #E13E7D #CEE13E #3EE1A3
square
#513EE1 #E13E7D #CEE13E #3EE1A3
split-complementary
#513EE1 #E1A33E #7DE13E
monochromatic
#24168E #321EC3 #513EE1 #8173E9 #B1A8F1

Accessibility & contrast

On white

6.72
#513EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#513EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513EE1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EE1#FFFFFF#000000##FFFFFF
##513EE11.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E6
Deuteranopia (green-blind)
#0055DE
Tritanopia (blue-blind)
#006C8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #513ee1;
/* rgb */ color: rgb(81, 62, 225);
/* oklch */ color: oklch(49.7% 0.233 278.9);
Tailwind
colors: {
  custom: {
    50: '#9376ec',
    500: '#513ee1',
    950: '#000000',
  },
}
SCSS
$custom: #513ee1;
$custom-light: #9376ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513ee1",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 225
  },
  "hsl": {
    "h": 246.994,
    "s": 73.094,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49712,
    "c": 0.23301,
    "h": 278.9
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#513EE1
secondary
#D7DF9C
accent
#F038DA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #513EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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