#513BCC#513BCC

#513BCC is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.3% C 0.211 H 281.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#513BCC
RGBrgb(81, 59, 204)
HSLhsl(249, 59%, 52%)
HSVhsv(249, 71%, 80%)
CMYKcmyk(60.3%, 71.1%, 0%, 20%)
CIE-LABlab(36.43, 49.22, -71.78)
CIE-LCHlch(36.43, 87.03, 304.44°)
OKLaboklab(47.34% 0.0424 -0.2069)
OKLCHoklch(47.34% 0.211 281.6)
XYZxyz(15.8530, 9.2358, 58.0623)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BCC #B6CC3B
analogous
#3B6ECC #513BCC #993BCC
triadic
#513BCC #CC513B #3BCC51
tetradic
#513BCC #CC3B6E #B6CC3B #3BCC99
square
#513BCC #CC3B6E #B6CC3B #3BCC99
split-complementary
#513BCC #CC993B #6ECC3B
monochromatic
#2A1D70 #3C2AA0 #513BCC #7C6CD9 #A79CE5

Accessibility & contrast

On white

7.38
#513BCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#513BCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BCC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BCC#FFFFFF#000000##FFFFFF
##513BCC1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513bcc;
/* rgb */ color: rgb(81, 59, 204);
/* oklch */ color: oklch(47.3% 0.211 281.6);
Tailwind
colors: {
  custom: {
    50: '#8f73dd',
    500: '#513bcc',
    950: '#000000',
  },
}
SCSS
$custom: #513bcc;
$custom-light: #8f73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#513bcc",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 249.103,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.21121,
    "h": 281.6
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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