#513BD2#513BD2

#513BD2 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.9% C 0.218 H 280.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#513BD2
RGBrgb(81, 59, 210)
HSLhsl(249, 63%, 53%)
HSVhsv(249, 72%, 82%)
CMYKcmyk(61.4%, 71.9%, 0%, 17.6%)
CIE-LABlab(36.98, 51.03, -74.35)
CIE-LCHlch(36.98, 90.18, 304.46°)
OKLaboklab(47.9% 0.0412 -0.2144)
OKLCHoklch(47.9% 0.218 280.9)
XYZxyz(16.5865, 9.5292, 61.9255)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BD2 #BCD23B
analogous
#3B70D2 #513BD2 #9D3BD2
triadic
#513BD2 #D2513B #3BD251
tetradic
#513BD2 #D23B70 #BCD23B #3BD29D
square
#513BD2 #D23B70 #BCD23B #3BD29D
split-complementary
#513BD2 #D29D3B #70D23B
monochromatic
#291B77 #3A27A9 #513BD2 #7D6DDD #A99FE9

Accessibility & contrast

On white

7.23
#513BD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#513BD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BD2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BD2#FFFFFF#000000##FFFFFF
##513BD21.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513bd2;
/* rgb */ color: rgb(81, 59, 210);
/* oklch */ color: oklch(47.9% 0.218 280.9);
Tailwind
colors: {
  custom: {
    50: '#9174e1',
    500: '#513bd2',
    950: '#000000',
  },
}
SCSS
$custom: #513bd2;
$custom-light: #9174e1;
$custom-dark: #000000;
JSON
{
  "hex": "#513bd2",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 248.742,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.21836,
    "h": 280.9
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#513BD2
secondary
#CCD594
accent
#E642CE
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #513BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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