#513DE2#513DE2

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

Color values

HEX#513DE2
RGBrgb(81, 61, 226)
HSLhsl(247, 74%, 56%)
HSVhsv(247, 73%, 89%)
CMYKcmyk(64.2%, 73%, 0%, 11.4%)
CIE-LABlab(38.86, 54.79, -80.45)
CIE-LCHlch(38.86, 97.34, 304.26°)
OKLaboklab(49.68% 0.0367 -0.2323)
OKLCHoklch(49.68% 0.235 279)
XYZxyz(18.7851, 10.5763, 72.9883)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DE2 #CEE23D
analogous
#3D7CE2 #513DE2 #A43DE2
triadic
#513DE2 #E2513D #3DE251
tetradic
#513DE2 #E23D7C #CEE23D #3DE2A4
square
#513DE2 #E23D7C #CEE23D #3DE2A4
split-complementary
#513DE2 #E2A43D #7CE23D
monochromatic
#24158F #321DC4 #513DE2 #8172EA #B1A7F2

Accessibility & contrast

On white

6.74
#513DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#513DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513DE2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DE2#FFFFFF#000000##FFFFFF
##513DE21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513de2;
/* rgb */ color: rgb(81, 61, 226);
/* oklch */ color: oklch(49.7% 0.235 279.0);
Tailwind
colors: {
  custom: {
    50: '#9375ec',
    500: '#513de2',
    950: '#000000',
  },
}
SCSS
$custom: #513de2;
$custom-light: #9375ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513de2",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 226
  },
  "hsl": {
    "h": 247.273,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.23514,
    "h": 279
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#513DE2
secondary
#D7DF9B
accent
#F137DA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #513DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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