#513CCC#513CCC

#513CCC is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.5% C 0.210 H 281.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#513CCC
RGBrgb(81, 60, 204)
HSLhsl(249, 59%, 52%)
HSVhsv(249, 71%, 80%)
CMYKcmyk(60.3%, 70.6%, 0%, 20%)
CIE-LABlab(36.63, 48.68, -71.46)
CIE-LCHlch(36.63, 86.46, 304.26°)
OKLaboklab(47.48% 0.0417 -0.206)
OKLCHoklch(47.48% 0.21 281.4)
XYZxyz(15.9049, 9.3396, 58.0796)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CCC #B7CC3C
analogous
#3C6FCC #513CCC #993CCC
triadic
#513CCC #CC513C #3CCC51
tetradic
#513CCC #CC3C6F #B7CC3C #3CCC99
square
#513CCC #CC3C6F #B7CC3C #3CCC99
split-complementary
#513CCC #CC993C #6FCC3C
monochromatic
#291D70 #3B2AA1 #513CCC #7C6DD9 #A89DE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##513CCC#FFFFFF#000000##FFFFFF
##513CCC1.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)
#005BD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513ccc;
/* rgb */ color: rgb(81, 60, 204);
/* oklch */ color: oklch(47.5% 0.210 281.4);
Tailwind
colors: {
  custom: {
    50: '#8f74dd',
    500: '#513ccc',
    950: '#000000',
  },
}
SCSS
$custom: #513ccc;
$custom-light: #8f74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#513ccc",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 248.75,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.21014,
    "h": 281.4
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#513CCC
secondary
#C8D192
accent
#E246CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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