#513FDA#513FDA

#513FDA is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.2% C 0.224 H 279.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#513FDA
RGBrgb(81, 63, 218)
HSLhsl(247, 68%, 55%)
HSVhsv(247, 71%, 85%)
CMYKcmyk(62.8%, 71.1%, 0%, 14.5%)
CIE-LABlab(38.49, 51.31, -76.48)
CIE-LCHlch(38.49, 92.10, 303.86°)
OKLaboklab(49.19% 0.0369 -0.2207)
OKLCHoklch(49.19% 0.224 279.5)
XYZxyz(17.8217, 10.3649, 67.3775)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FDA #C8DA3F
analogous
#3F7ADA #513FDA #9F3FDA
triadic
#513FDA #DA513F #3FDA51
tetradic
#513FDA #DA3F7A #C8DA3F #3FDA9F
square
#513FDA #DA3F7A #C8DA3F #3FDA9F
split-complementary
#513FDA #DA9F3F #7ADA3F
monochromatic
#261A85 #3524B8 #513FDA #8072E4 #AEA6EE

Accessibility & contrast

On white

6.83
#513FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#513FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FDA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FDA#FFFFFF#000000##FFFFFF
##513FDA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0054D7
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #513fda;
/* rgb */ color: rgb(81, 63, 218);
/* oklch */ color: oklch(49.2% 0.224 279.5);
Tailwind
colors: {
  custom: {
    50: '#9276e7',
    500: '#513fda',
    950: '#000000',
  },
}
SCSS
$custom: #513fda;
$custom-light: #9276e7;
$custom-dark: #000000;
JSON
{
  "hex": "#513fda",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 246.968,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.22375,
    "h": 279.5
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#513FDA
secondary
#D3DB9A
accent
#EB3DD6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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