#513FD7#513FD7

#513FD7 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.220 H 279.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#513FD7
RGBrgb(81, 63, 215)
HSLhsl(247, 66%, 55%)
HSVhsv(247, 71%, 84%)
CMYKcmyk(62.3%, 70.7%, 0%, 15.7%)
CIE-LABlab(38.22, 50.40, -75.21)
CIE-LCHlch(38.22, 90.53, 303.82°)
OKLaboklab(48.91% 0.0375 -0.217)
OKLCHoklch(48.91% 0.22 279.8)
XYZxyz(17.4327, 10.2093, 65.3287)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FD7 #C5D73F
analogous
#3F79D7 #513FD7 #9D3FD7
triadic
#513FD7 #D7513F #3FD751
tetradic
#513FD7 #D73F79 #C5D73F #3FD79D
square
#513FD7 #D73F79 #C5D73F #3FD79D
split-complementary
#513FD7 #D79D3F #79D73F
monochromatic
#271B81 #3625B3 #513FD7 #7F72E2 #ADA4EC

Accessibility & contrast

On white

6.90
#513FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#513FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FD7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FD7#FFFFFF#000000##FFFFFF
##513FD71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513fd7;
/* rgb */ color: rgb(81, 63, 215);
/* oklch */ color: oklch(48.9% 0.220 279.8);
Tailwind
colors: {
  custom: {
    50: '#9176e5',
    500: '#513fd7',
    950: '#000000',
  },
}
SCSS
$custom: #513fd7;
$custom-light: #9176e5;
$custom-dark: #000000;
JSON
{
  "hex": "#513fd7",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 247.105,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.22018,
    "h": 279.8
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#513FD7
secondary
#D1D999
accent
#E83FD4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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