#513BD5#513BD5

#513BD5 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.2% C 0.222 H 280.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#513BD5
RGBrgb(81, 59, 213)
HSLhsl(249, 65%, 53%)
HSVhsv(249, 72%, 84%)
CMYKcmyk(62%, 72.3%, 0%, 16.5%)
CIE-LABlab(37.26, 51.93, -75.63)
CIE-LCHlch(37.26, 91.74, 304.48°)
OKLaboklab(48.18% 0.0406 -0.2182)
OKLCHoklch(48.18% 0.222 280.5)
XYZxyz(16.9637, 9.6801, 63.9124)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BD5 #BFD53B
analogous
#3B72D5 #513BD5 #9E3BD5
triadic
#513BD5 #D5513B #3BD551
tetradic
#513BD5 #D53B72 #BFD53B #3BD59E
square
#513BD5 #D53B72 #BFD53B #3BD59E
split-complementary
#513BD5 #D59E3B #72D53B
monochromatic
#281A7B #3925AE #513BD5 #7E6DE0 #AAA0EB

Accessibility & contrast

On white

7.15
#513BD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#513BD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BD5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BD5#FFFFFF#000000##FFFFFF
##513BD51.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDA
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513bd5;
/* rgb */ color: rgb(81, 59, 213);
/* oklch */ color: oklch(48.2% 0.222 280.5);
Tailwind
colors: {
  custom: {
    50: '#9174e3',
    500: '#513bd5',
    950: '#000000',
  },
}
SCSS
$custom: #513bd5;
$custom-light: #9174e3;
$custom-dark: #000000;
JSON
{
  "hex": "#513bd5",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 248.571,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48177,
    "c": 0.22191,
    "h": 280.5
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#513BD5
secondary
#CED795
accent
#E840D0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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