#513FD5#513FD5

#513FD5 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.7% C 0.218 H 280.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#513FD5
RGBrgb(81, 63, 213)
HSLhsl(247, 64%, 54%)
HSVhsv(247, 70%, 84%)
CMYKcmyk(62%, 70.4%, 0%, 16.5%)
CIE-LABlab(38.03, 49.78, -74.36)
CIE-LCHlch(38.03, 89.48, 303.80°)
OKLaboklab(48.73% 0.0379 -0.2145)
OKLCHoklch(48.73% 0.218 280)
XYZxyz(17.1773, 10.1071, 63.9836)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FD5 #C3D53F
analogous
#3F78D5 #513FD5 #9C3FD5
triadic
#513FD5 #D5513F #3FD551
tetradic
#513FD5 #D53F78 #C3D53F #3FD59C
square
#513FD5 #D53F78 #C3D53F #3FD59C
split-complementary
#513FD5 #D59C3F #78D53F
monochromatic
#271C7E #3727B0 #513FD5 #7F71E0 #ACA3EB

Accessibility & contrast

On white

6.95
#513FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#513FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FD5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FD5#FFFFFF#000000##FFFFFF
##513FD51.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #513fd5;
/* rgb */ color: rgb(81, 63, 213);
/* oklch */ color: oklch(48.7% 0.218 280.0);
Tailwind
colors: {
  custom: {
    50: '#9176e3',
    500: '#513fd5',
    950: '#000000',
  },
}
SCSS
$custom: #513fd5;
$custom-light: #9176e3;
$custom-dark: #000000;
JSON
{
  "hex": "#513fd5",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 247.2,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.21778,
    "h": 280
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#513FD5
secondary
#D0D898
accent
#E741D3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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