#513FD9#513FD9

#513FD9 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.1% C 0.223 H 279.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#513FD9
RGBrgb(81, 63, 217)
HSLhsl(247, 67%, 55%)
HSVhsv(247, 71%, 85%)
CMYKcmyk(62.7%, 71%, 0%, 14.9%)
CIE-LABlab(38.40, 51.01, -76.06)
CIE-LCHlch(38.40, 91.58, 303.85°)
OKLaboklab(49.1% 0.0371 -0.2194)
OKLCHoklch(49.1% 0.223 279.6)
XYZxyz(17.6912, 10.3127, 66.6905)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FD9 #C7D93F
analogous
#3F7AD9 #513FD9 #9E3FD9
triadic
#513FD9 #D9513F #3FD951
tetradic
#513FD9 #D93F7A #C7D93F #3FD99E
square
#513FD9 #D93F7A #C7D93F #3FD99E
split-complementary
#513FD9 #D99E3F #7AD93F
monochromatic
#261A84 #3524B7 #513FD9 #7F72E3 #AEA5ED

Accessibility & contrast

On white

6.86
#513FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#513FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FD9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FD9#FFFFFF#000000##FFFFFF
##513FD91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0054D6
Tritanopia (blue-blind)
#006988
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #513fd9;
/* rgb */ color: rgb(81, 63, 217);
/* oklch */ color: oklch(49.1% 0.223 279.6);
Tailwind
colors: {
  custom: {
    50: '#9176e6',
    500: '#513fd9',
    950: '#000000',
  },
}
SCSS
$custom: #513fd9;
$custom-light: #9176e6;
$custom-dark: #000000;
JSON
{
  "hex": "#513fd9",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 247.013,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.22256,
    "h": 279.6
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#513FD9
secondary
#D3DA9A
accent
#EA3ED6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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