#513FD2#513FD2

#513FD2 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.5% C 0.214 H 280.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#513FD2
RGBrgb(81, 63, 210)
HSLhsl(247, 62%, 54%)
HSVhsv(247, 70%, 82%)
CMYKcmyk(61.4%, 70%, 0%, 17.6%)
CIE-LABlab(37.76, 48.86, -73.07)
CIE-LCHlch(37.76, 87.90, 303.77°)
OKLaboklab(48.45% 0.0384 -0.2107)
OKLCHoklch(48.45% 0.214 280.3)
XYZxyz(16.8000, 9.9562, 61.9967)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FD2 #C0D23F
analogous
#3F76D2 #513FD2 #9A3FD2
triadic
#513FD2 #D2513F #3FD251
tetradic
#513FD2 #D23F76 #C0D23F #3FD29A
square
#513FD2 #D23F76 #C0D23F #3FD29A
split-complementary
#513FD2 #D29A3F #76D23F
monochromatic
#281D7A #3828AC #513FD2 #7E71DE #ABA2E9

Accessibility & contrast

On white

7.02
#513FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#513FD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FD2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FD2#FFFFFF#000000##FFFFFF
##513FD21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#006784
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513fd2;
/* rgb */ color: rgb(81, 63, 210);
/* oklch */ color: oklch(48.5% 0.214 280.3);
Tailwind
colors: {
  custom: {
    50: '#9076e1',
    500: '#513fd2',
    950: '#000000',
  },
}
SCSS
$custom: #513fd2;
$custom-light: #9076e1;
$custom-dark: #000000;
JSON
{
  "hex": "#513fd2",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 247.347,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.21417,
    "h": 280.3
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#513FD2
secondary
#CED697
accent
#E543D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #513FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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