#513FDC#513FDC

#513FDC is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.4% C 0.226 H 279.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#513FDC
RGBrgb(81, 63, 220)
HSLhsl(247, 69%, 55%)
HSVhsv(247, 71%, 86%)
CMYKcmyk(63.2%, 71.4%, 0%, 13.7%)
CIE-LABlab(38.67, 51.92, -77.33)
CIE-LCHlch(38.67, 93.14, 303.88°)
OKLaboklab(49.38% 0.0366 -0.2231)
OKLCHoklch(49.38% 0.226 279.3)
XYZxyz(18.0850, 10.4702, 68.7642)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FDC #CADC3F
analogous
#3F7BDC #513FDC #9F3FDC
triadic
#513FDC #DC513F #3FDC51
tetradic
#513FDC #DC3F7B #CADC3F #3FDC9F
square
#513FDC #DC3F7B #CADC3F #3FDC9F
split-complementary
#513FDC #DC9F3F #7BDC3F
monochromatic
#251988 #3422BC #513FDC #8073E5 #AFA7EF

Accessibility & contrast

On white

6.79
#513FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#513FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FDC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FDC#FFFFFF#000000##FFFFFF
##513FDC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E1
Deuteranopia (green-blind)
#0055D9
Tritanopia (blue-blind)
#006A8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #513fdc;
/* rgb */ color: rgb(81, 63, 220);
/* oklch */ color: oklch(49.4% 0.226 279.3);
Tailwind
colors: {
  custom: {
    50: '#9276e8',
    500: '#513fdc',
    950: '#000000',
  },
}
SCSS
$custom: #513fdc;
$custom-light: #9276e8;
$custom-dark: #000000;
JSON
{
  "hex": "#513fdc",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 220
  },
  "hsl": {
    "h": 246.879,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.22613,
    "h": 279.3
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#513FDC
secondary
#D5DC9B
accent
#EC3CD8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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