#513DB9#513DB9

#513DB9 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.186 H 283.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#513DB9
RGBrgb(81, 61, 185)
HSLhsl(250, 50%, 48%)
HSVhsv(250, 67%, 73%)
CMYKcmyk(56.2%, 67%, 0%, 27.5%)
CIE-LABlab(35.18, 42.29, -62.71)
CIE-LCHlch(35.18, 75.64, 304.00°)
OKLaboklab(45.93% 0.0439 -0.1803)
OKLCHoklch(45.93% 0.186 283.7)
XYZxyz(13.8164, 8.5888, 46.8193)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DB9 #A5B93D
analogous
#3D67B9 #513DB9 #8F3DB9
triadic
#513DB9 #B9513D #3DB951
tetradic
#513DB9 #B93D67 #A5B93D #3DB98F
square
#513DB9 #B93D67 #A5B93D #3DB98F
split-complementary
#513DB9 #B98F3D #67B93D
monochromatic
#291F5D #3D2E8B #513DB9 #7766CD #A095DC

Accessibility & contrast

On white

7.73
#513DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#513DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DB9
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DB9#FFFFFF#000000##FFFFFF
##513DB91.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#1E5D76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513db9;
/* rgb */ color: rgb(81, 61, 185);
/* oklch */ color: oklch(45.9% 0.186 283.7);
Tailwind
colors: {
  custom: {
    50: '#8c74cf',
    500: '#513db9',
    950: '#000000',
  },
}
SCSS
$custom: #513db9;
$custom-light: #8c74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#513db9",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 249.677,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.18562,
    "h": 283.7
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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