#513BD6#513BD6

#513BD6 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.3% C 0.223 H 280.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#513BD6
RGBrgb(81, 59, 214)
HSLhsl(249, 65%, 54%)
HSVhsv(249, 72%, 84%)
CMYKcmyk(62.1%, 72.4%, 0%, 16.1%)
CIE-LABlab(37.36, 52.24, -76.05)
CIE-LCHlch(37.36, 92.26, 304.48°)
OKLaboklab(48.27% 0.0404 -0.2194)
OKLCHoklch(48.27% 0.223 280.4)
XYZxyz(17.0911, 9.7310, 64.5829)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BD6 #C0D63B
analogous
#3B72D6 #513BD6 #9E3BD6
triadic
#513BD6 #D6513B #3BD651
tetradic
#513BD6 #D63B72 #C0D63B #3BD69E
square
#513BD6 #D63B72 #C0D63B #3BD69E
split-complementary
#513BD6 #D69E3B #72D63B
monochromatic
#281A7D #3825AF #513BD6 #7E6EE1 #ABA0EB

Accessibility & contrast

On white

7.13
#513BD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#513BD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BD6
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BD6#FFFFFF#000000##FFFFFF
##513BD61.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513bd6;
/* rgb */ color: rgb(81, 59, 214);
/* oklch */ color: oklch(48.3% 0.223 280.4);
Tailwind
colors: {
  custom: {
    50: '#9174e4',
    500: '#513bd6',
    950: '#000000',
  },
}
SCSS
$custom: #513bd6;
$custom-light: #9174e4;
$custom-dark: #000000;
JSON
{
  "hex": "#513bd6",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 248.516,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.22308,
    "h": 280.4
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#513BD6
secondary
#CED895
accent
#E83FD0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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