#513EBE#513EBE

#513EBE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.5% C 0.191 H 282.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#513EBE
RGBrgb(81, 62, 190)
HSLhsl(249, 51%, 49%)
HSVhsv(249, 67%, 75%)
CMYKcmyk(57.4%, 67.4%, 0%, 25.5%)
CIE-LABlab(35.81, 43.26, -64.62)
CIE-LCHlch(35.81, 77.77, 303.80°)
OKLaboklab(46.52% 0.0424 -0.1859)
OKLCHoklch(46.52% 0.191 282.8)
XYZxyz(14.4074, 8.9114, 49.6661)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EBE #ABBE3E
analogous
#3E6BBE #513EBE #913EBE
triadic
#513EBE #BE513E #3EBE51
tetradic
#513EBE #BE3E6B #ABBE3E #3EBE91
square
#513EBE #BE3E6B #ABBE3E #3EBE91
split-complementary
#513EBE #BE913E #6BBE3E
monochromatic
#2A2062 #3D2F90 #513EBE #796BCF #A399DE

Accessibility & contrast

On white

7.55
#513EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#513EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EBE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EBE#FFFFFF#000000##FFFFFF
##513EBE1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#155F79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513ebe;
/* rgb */ color: rgb(81, 62, 190);
/* oklch */ color: oklch(46.5% 0.191 282.8);
Tailwind
colors: {
  custom: {
    50: '#8d75d3',
    500: '#513ebe',
    950: '#000000',
  },
}
SCSS
$custom: #513ebe;
$custom-light: #8d75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513ebe",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 248.906,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.1907,
    "h": 282.8
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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