#513FD1#513FD1

#513FD1 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.213 H 280.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#513FD1
RGBrgb(81, 63, 209)
HSLhsl(247, 61%, 53%)
HSVhsv(247, 70%, 82%)
CMYKcmyk(61.2%, 69.9%, 0%, 18%)
CIE-LABlab(37.67, 48.56, -72.64)
CIE-LCHlch(37.67, 87.37, 303.76°)
OKLaboklab(48.36% 0.0386 -0.2094)
OKLCHoklch(48.36% 0.213 280.4)
XYZxyz(16.6758, 9.9066, 61.3426)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FD1 #BFD13F
analogous
#3F76D1 #513FD1 #9A3FD1
triadic
#513FD1 #D1513F #3FD151
tetradic
#513FD1 #D13F76 #BFD13F #3FD19A
square
#513FD1 #D13F76 #BFD13F #3FD19A
split-complementary
#513FD1 #D19A3F #76D13F
monochromatic
#281D79 #3929AA #513FD1 #7E70DD #AAA2E9

Accessibility & contrast

On white

7.04
#513FD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#513FD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FD1
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FD1#FFFFFF#000000##FFFFFF
##513FD11.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513fd1;
/* rgb */ color: rgb(81, 63, 209);
/* oklch */ color: oklch(48.4% 0.213 280.4);
Tailwind
colors: {
  custom: {
    50: '#9076e0',
    500: '#513fd1',
    950: '#000000',
  },
}
SCSS
$custom: #513fd1;
$custom-light: #9076e0;
$custom-dark: #000000;
JSON
{
  "hex": "#513fd1",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 247.397,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48359,
    "c": 0.21296,
    "h": 280.4
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#513FD1
secondary
#CED597
accent
#E443D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #513FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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