#513CBB#513CBB

#513CBB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 46.0% C 0.189 H 283.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#513CBB
RGBrgb(81, 60, 187)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(56.7%, 67.9%, 0%, 26.7%)
CIE-LABlab(35.14, 43.48, -63.96)
CIE-LCHlch(35.14, 77.34, 304.21°)
OKLaboklab(45.95% 0.0445 -0.184)
OKLCHoklch(45.95% 0.189 283.6)
XYZxyz(13.9761, 8.5680, 47.9214)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CBB #A6BB3C
analogous
#3C66BB #513CBB #903CBB
triadic
#513CBB #BB513C #3CBB51
tetradic
#513CBB #BB3C66 #A6BB3C #3CBB90
square
#513CBB #BB3C66 #A6BB3C #3CBB90
split-complementary
#513CBB #BB903C #66BB3C
monochromatic
#291E5E #3D2D8D #513CBB #7766CE #A195DD

Accessibility & contrast

On white

7.74
#513CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#513CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CBB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CBB#FFFFFF#000000##FFFFFF
##513CBB1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#1B5D76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513cbb;
/* rgb */ color: rgb(81, 60, 187);
/* oklch */ color: oklch(46.0% 0.189 283.6);
Tailwind
colors: {
  custom: {
    50: '#8d73d0',
    500: '#513cbb',
    950: '#000000',
  },
}
SCSS
$custom: #513cbb;
$custom-light: #8d73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#513cbb",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 249.921,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.18931,
    "h": 283.6
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#513CBB
secondary
#BEC88B
accent
#DB4DC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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