#513CC8#513CC8

#513CC8 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.1% C 0.205 H 281.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#513CC8
RGBrgb(81, 60, 200)
HSLhsl(249, 56%, 51%)
HSVhsv(249, 70%, 78%)
CMYKcmyk(59.5%, 70%, 0%, 21.6%)
CIE-LABlab(36.27, 47.46, -69.72)
CIE-LCHlch(36.27, 84.34, 304.24°)
OKLaboklab(47.11% 0.0424 -0.2009)
OKLCHoklch(47.11% 0.205 281.9)
XYZxyz(15.4313, 9.1501, 55.5854)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CC8 #B3C83C
analogous
#3C6DC8 #513CC8 #973CC8
triadic
#513CC8 #C8513C #3CC851
tetradic
#513CC8 #C83C6D #B3C83C #3CC897
square
#513CC8 #C83C6D #B3C83C #3CC897
split-complementary
#513CC8 #C8973C #6DC83C
monochromatic
#2A1E6B #3C2C9B #513CC8 #7C6CD5 #A69BE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##513CC8#FFFFFF#000000##FFFFFF
##513CC81.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)
#005ACC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513cc8;
/* rgb */ color: rgb(81, 60, 200);
/* oklch */ color: oklch(47.1% 0.205 281.9);
Tailwind
colors: {
  custom: {
    50: '#8f74da',
    500: '#513cc8',
    950: '#000000',
  },
}
SCSS
$custom: #513cc8;
$custom-light: #8f74da;
$custom-dark: #000000;
JSON
{
  "hex": "#513cc8",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 249,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.20531,
    "h": 281.9
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#513CC8
secondary
#C6CF91
accent
#DF49C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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