#513ACC#513ACC

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

Color values

HEX#513ACC
RGBrgb(81, 58, 204)
HSLhsl(249, 59%, 51%)
HSVhsv(249, 72%, 80%)
CMYKcmyk(60.3%, 71.6%, 0%, 20%)
CIE-LABlab(36.24, 49.76, -72.10)
CIE-LCHlch(36.24, 87.60, 304.61°)
OKLaboklab(47.2% 0.0432 -0.2078)
OKLCHoklch(47.2% 0.212 281.7)
XYZxyz(15.8021, 9.1340, 58.0454)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ACC #B5CC3A
analogous
#3A6CCC #513ACC #9A3ACC
triadic
#513ACC #CC513A #3ACC51
tetradic
#513ACC #CC3A6C #B5CC3A #3ACC9A
square
#513ACC #CC3A6C #B5CC3A #3ACC9A
split-complementary
#513ACC #CC9A3A #6CCC3A
monochromatic
#2A1D6F #3C29A0 #513ACC #7C6BD9 #A79BE5

Accessibility & contrast

On white

7.43
#513ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513ACC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ACC#FFFFFF#000000##FFFFFF
##513ACC1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513acc;
/* rgb */ color: rgb(81, 58, 204);
/* oklch */ color: oklch(47.2% 0.212 281.7);
Tailwind
colors: {
  custom: {
    50: '#9073dd',
    500: '#513acc',
    950: '#000000',
  },
}
SCSS
$custom: #513acc;
$custom-light: #9073dd;
$custom-dark: #000000;
JSON
{
  "hex": "#513acc",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 249.452,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.472,
    "c": 0.21226,
    "h": 281.7
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#513ACC
secondary
#C7D191
accent
#E246C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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