#513BC9#513BC9

#513BC9 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.1% C 0.208 H 282.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#513BC9
RGBrgb(81, 59, 201)
HSLhsl(249, 57%, 51%)
HSVhsv(249, 71%, 79%)
CMYKcmyk(59.7%, 70.6%, 0%, 21.2%)
CIE-LABlab(36.16, 48.31, -70.48)
CIE-LCHlch(36.16, 85.45, 304.43°)
OKLaboklab(47.06% 0.043 -0.2031)
OKLCHoklch(47.06% 0.208 282)
XYZxyz(15.4966, 9.0932, 56.1856)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BC9 #B3C93B
analogous
#3B6CC9 #513BC9 #983BC9
triadic
#513BC9 #C9513B #3BC951
tetradic
#513BC9 #C93B6C #B3C93B #3BC998
square
#513BC9 #C93B6C #B3C93B #3BC998
split-complementary
#513BC9 #C9983B #6CC93B
monochromatic
#2A1E6C #3C2B9C #513BC9 #7C6BD6 #A69BE3

Accessibility & contrast

On white

7.45
#513BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#513BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BC9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BC9#FFFFFF#000000##FFFFFF
##513BC91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513bc9;
/* rgb */ color: rgb(81, 59, 201);
/* oklch */ color: oklch(47.1% 0.208 282.0);
Tailwind
colors: {
  custom: {
    50: '#8f73db',
    500: '#513bc9',
    950: '#000000',
  },
}
SCSS
$custom: #513bc9;
$custom-light: #8f73db;
$custom-dark: #000000;
JSON
{
  "hex": "#513bc9",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 249.296,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.20761,
    "h": 282
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#513BC9
secondary
#C6CF90
accent
#E048C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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