#513DCA#513DCA

#513DCA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.207 H 281.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#513DCA
RGBrgb(81, 61, 202)
HSLhsl(249, 57%, 52%)
HSVhsv(249, 70%, 79%)
CMYKcmyk(59.9%, 69.8%, 0%, 20.8%)
CIE-LABlab(36.65, 47.52, -70.26)
CIE-LCHlch(36.65, 84.82, 304.07°)
OKLaboklab(47.44% 0.0413 -0.2025)
OKLCHoklch(47.44% 0.207 281.5)
XYZxyz(15.7194, 9.3500, 56.8420)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DCA #B6CA3D
analogous
#3D70CA #513DCA #983DCA
triadic
#513DCA #CA513D #3DCA51
tetradic
#513DCA #CA3D70 #B6CA3D #3DCA98
square
#513DCA #CA3D70 #B6CA3D #3DCA98
split-complementary
#513DCA #CA983D #70CA3D
monochromatic
#2A1E6E #3C2B9F #513DCA #7C6DD7 #A79DE4

Accessibility & contrast

On white

7.32
#513DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#513DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DCA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DCA#FFFFFF#000000##FFFFFF
##513DCA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513dca;
/* rgb */ color: rgb(81, 61, 202);
/* oklch */ color: oklch(47.4% 0.207 281.5);
Tailwind
colors: {
  custom: {
    50: '#8f74db',
    500: '#513dca',
    950: '#000000',
  },
}
SCSS
$custom: #513dca;
$custom-light: #8f74db;
$custom-dark: #000000;
JSON
{
  "hex": "#513dca",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 248.511,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.20665,
    "h": 281.5
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#513DCA
secondary
#C8D092
accent
#E047CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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