#513CD9#513CD9

#513CD9 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.7% C 0.226 H 280.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#513CD9
RGBrgb(81, 60, 217)
HSLhsl(248, 67%, 54%)
HSVhsv(248, 72%, 85%)
CMYKcmyk(62.7%, 72.4%, 0%, 14.9%)
CIE-LABlab(37.82, 52.61, -77.00)
CIE-LCHlch(37.82, 93.26, 304.34°)
OKLaboklab(48.69% 0.0391 -0.2222)
OKLCHoklch(48.69% 0.226 280)
XYZxyz(17.5296, 9.9895, 66.6366)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CD9 #C4D93C
analogous
#3C76D9 #513CD9 #9F3CD9
triadic
#513CD9 #D9513C #3CD951
tetradic
#513CD9 #D93C76 #C4D93C #3CD99F
square
#513CD9 #D93C76 #C4D93C #3CD99F
split-complementary
#513CD9 #D99F3C #76D93C
monochromatic
#271981 #3723B5 #513CD9 #7F6FE3 #ACA2ED

Accessibility & contrast

On white

7.00
#513CD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#513CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513CD9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CD9#FFFFFF#000000##FFFFFF
##513CD91.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0053D6
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513cd9;
/* rgb */ color: rgb(81, 60, 217);
/* oklch */ color: oklch(48.7% 0.226 280.0);
Tailwind
colors: {
  custom: {
    50: '#9274e6',
    500: '#513cd9',
    950: '#000000',
  },
}
SCSS
$custom: #513cd9;
$custom-light: #9274e6;
$custom-dark: #000000;
JSON
{
  "hex": "#513cd9",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 248.025,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48688,
    "c": 0.22561,
    "h": 280
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#513CD9
secondary
#D1DA97
accent
#EA3ED3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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