#513DB8#513DB8

#513DB8 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.8% C 0.184 H 283.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#513DB8
RGBrgb(81, 61, 184)
HSLhsl(250, 50%, 48%)
HSVhsv(250, 67%, 72%)
CMYKcmyk(56%, 66.8%, 0%, 27.8%)
CIE-LABlab(35.10, 41.99, -62.26)
CIE-LCHlch(35.10, 75.10, 303.99°)
OKLaboklab(45.84% 0.0441 -0.179)
OKLCHoklch(45.84% 0.184 283.8)
XYZxyz(13.7112, 8.5467, 46.2653)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DB8 #A4B83D
analogous
#3D66B8 #513DB8 #8E3DB8
triadic
#513DB8 #B8513D #3DB851
tetradic
#513DB8 #B83D66 #A4B83D #3DB88E
square
#513DB8 #B83D66 #A4B83D #3DB88E
split-complementary
#513DB8 #B88E3D #66B83D
monochromatic
#291F5C #3D2E8A #513DB8 #7766CC #A094DB

Accessibility & contrast

On white

7.75
#513DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513DB8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DB8#FFFFFF#000000##FFFFFF
##513DB81.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#1F5C75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513db8;
/* rgb */ color: rgb(81, 61, 184);
/* oklch */ color: oklch(45.8% 0.184 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c74ce',
    500: '#513db8',
    950: '#000000',
  },
}
SCSS
$custom: #513db8;
$custom-light: #8c74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#513db8",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 249.756,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45843,
    "c": 0.18436,
    "h": 283.8
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#513DB8
secondary
#BDC78A
accent
#DA4EC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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