#513EB8#513EB8

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

Color values

HEX#513EB8
RGBrgb(81, 62, 184)
HSLhsl(249, 50%, 48%)
HSVhsv(249, 66%, 72%)
CMYKcmyk(56%, 66.3%, 0%, 27.8%)
CIE-LABlab(35.31, 41.41, -61.91)
CIE-LCHlch(35.31, 74.48, 303.78°)
OKLaboklab(46% 0.0432 -0.178)
OKLCHoklch(46% 0.183 283.6)
XYZxyz(13.7650, 8.6544, 46.2832)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EB8 #A5B83E
analogous
#3E68B8 #513EB8 #8E3EB8
triadic
#513EB8 #B8513E #3EB851
tetradic
#513EB8 #B83E68 #A5B83E #3EB88E
square
#513EB8 #B83E68 #A5B83E #3EB88E
split-complementary
#513EB8 #B88E3E #68B83E
monochromatic
#291F5C #3D2F8A #513EB8 #7767CC #A095DB

Accessibility & contrast

On white

7.69
#513EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#513EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EB8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EB8#FFFFFF#000000##FFFFFF
##513EB81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#1F5D75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513eb8;
/* rgb */ color: rgb(81, 62, 184);
/* oklch */ color: oklch(46.0% 0.183 283.6);
Tailwind
colors: {
  custom: {
    50: '#8c75ce',
    500: '#513eb8',
    950: '#000000',
  },
}
SCSS
$custom: #513eb8;
$custom-light: #8c75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#513eb8",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 249.344,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.18315,
    "h": 283.6
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#513EB8
secondary
#BDC78B
accent
#D94FC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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