#513BCA#513BCA

#513BCA is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.2% C 0.209 H 281.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#513BCA
RGBrgb(81, 59, 202)
HSLhsl(249, 57%, 51%)
HSVhsv(249, 71%, 79%)
CMYKcmyk(59.9%, 70.8%, 0%, 20.8%)
CIE-LABlab(36.25, 48.61, -70.92)
CIE-LCHlch(36.25, 85.98, 304.43°)
OKLaboklab(47.15% 0.0428 -0.2044)
OKLCHoklch(47.15% 0.209 281.8)
XYZxyz(15.6146, 9.1404, 56.8071)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BCA #B4CA3B
analogous
#3B6CCA #513BCA #983BCA
triadic
#513BCA #CA513B #3BCA51
tetradic
#513BCA #CA3B6C #B4CA3B #3BCA98
square
#513BCA #CA3B6C #B4CA3B #3BCA98
split-complementary
#513BCA #CA983B #6CCA3B
monochromatic
#2A1E6D #3C2B9D #513BCA #7C6BD7 #A79BE4

Accessibility & contrast

On white

7.42
#513BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#513BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BCA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BCA#FFFFFF#000000##FFFFFF
##513BCA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513bca;
/* rgb */ color: rgb(81, 59, 202);
/* oklch */ color: oklch(47.2% 0.209 281.8);
Tailwind
colors: {
  custom: {
    50: '#8f73db',
    500: '#513bca',
    950: '#000000',
  },
}
SCSS
$custom: #513bca;
$custom-light: #8f73db;
$custom-dark: #000000;
JSON
{
  "hex": "#513bca",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 249.231,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.20881,
    "h": 281.8
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#513BCA
secondary
#C6D091
accent
#E147C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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