#513EBC#513EBC

#513EBC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.3% C 0.188 H 283.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#513EBC
RGBrgb(81, 62, 188)
HSLhsl(249, 50%, 49%)
HSVhsv(249, 67%, 74%)
CMYKcmyk(56.9%, 67%, 0%, 26.3%)
CIE-LABlab(35.64, 42.65, -63.72)
CIE-LCHlch(35.64, 76.68, 303.79°)
OKLaboklab(46.34% 0.0426 -0.1833)
OKLCHoklch(46.34% 0.188 283.1)
XYZxyz(14.1903, 8.8245, 48.5228)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EBC #A9BC3E
analogous
#3E6ABC #513EBC #903EBC
triadic
#513EBC #BC513E #3EBC51
tetradic
#513EBC #BC3E6A #A9BC3E #3EBC90
square
#513EBC #BC3E6A #A9BC3E #3EBC90
split-complementary
#513EBC #BC903E #6ABC3E
monochromatic
#292060 #3D2F8E #513EBC #796ACE #A298DD

Accessibility & contrast

On white

7.59
#513EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#513EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EBC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EBC#FFFFFF#000000##FFFFFF
##513EBC1.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#195E78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513ebc;
/* rgb */ color: rgb(81, 62, 188);
/* oklch */ color: oklch(46.3% 0.188 283.1);
Tailwind
colors: {
  custom: {
    50: '#8d75d1',
    500: '#513ebc',
    950: '#000000',
  },
}
SCSS
$custom: #513ebc;
$custom-light: #8d75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#513ebc",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 249.048,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46342,
    "c": 0.1882,
    "h": 283.1
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#513EBC
secondary
#C0C98D
accent
#DA4EC5
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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