#513FD8#513FD8

#513FD8 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.221 H 279.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#513FD8
RGBrgb(81, 63, 216)
HSLhsl(247, 66%, 55%)
HSVhsv(247, 71%, 85%)
CMYKcmyk(62.5%, 70.8%, 0%, 15.3%)
CIE-LABlab(38.31, 50.70, -75.64)
CIE-LCHlch(38.31, 91.06, 303.84°)
OKLaboklab(49% 0.0373 -0.2182)
OKLCHoklch(49% 0.221 279.7)
XYZxyz(17.5616, 10.2609, 66.0075)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FD8 #C6D83F
analogous
#3F79D8 #513FD8 #9E3FD8
triadic
#513FD8 #D8513F #3FD851
tetradic
#513FD8 #D83F79 #C6D83F #3FD89E
square
#513FD8 #D83F79 #C6D83F #3FD89E
split-complementary
#513FD8 #D89E3F #79D83F
monochromatic
#271A82 #3625B5 #513FD8 #7F72E2 #ADA5ED

Accessibility & contrast

On white

6.88
#513FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#513FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FD8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FD8#FFFFFF#000000##FFFFFF
##513FD81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DD
Deuteranopia (green-blind)
#0054D5
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #513fd8;
/* rgb */ color: rgb(81, 63, 216);
/* oklch */ color: oklch(49.0% 0.221 279.7);
Tailwind
colors: {
  custom: {
    50: '#9176e5',
    500: '#513fd8',
    950: '#000000',
  },
}
SCSS
$custom: #513fd8;
$custom-light: #9176e5;
$custom-dark: #000000;
JSON
{
  "hex": "#513fd8",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 247.059,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.22137,
    "h": 279.7
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#513FD8
secondary
#D2DA99
accent
#E93FD5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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