#513DE1#513DE1

#513DE1 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.6% C 0.234 H 279.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#513DE1
RGBrgb(81, 61, 225)
HSLhsl(247, 73%, 56%)
HSVhsv(247, 73%, 88%)
CMYKcmyk(64%, 72.9%, 0%, 11.8%)
CIE-LABlab(38.76, 54.49, -80.04)
CIE-LCHlch(38.76, 96.83, 304.25°)
OKLaboklab(49.58% 0.0369 -0.2311)
OKLCHoklch(49.58% 0.234 279.1)
XYZxyz(18.6483, 10.5216, 72.2677)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DE1 #CDE13D
analogous
#3D7BE1 #513DE1 #A33DE1
triadic
#513DE1 #E1513D #3DE151
tetradic
#513DE1 #E13D7B #CDE13D #3DE1A3
square
#513DE1 #E13D7B #CDE13D #3DE1A3
split-complementary
#513DE1 #E1A33D #7BE13D
monochromatic
#25168E #321EC3 #513DE1 #8172E9 #B0A7F1

Accessibility & contrast

On white

6.76
#513DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #513DE1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DE1#FFFFFF#000000##FFFFFF
##513DE11.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E6
Deuteranopia (green-blind)
#0055DE
Tritanopia (blue-blind)
#006B8C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #513de1;
/* rgb */ color: rgb(81, 61, 225);
/* oklch */ color: oklch(49.6% 0.234 279.1);
Tailwind
colors: {
  custom: {
    50: '#9375ec',
    500: '#513de1',
    950: '#000000',
  },
}
SCSS
$custom: #513de1;
$custom-light: #9375ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513de1",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 225
  },
  "hsl": {
    "h": 247.317,
    "s": 73.214,
    "l": 56.078
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.23398,
    "h": 279.1
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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