#513EDB#513EDB

#513EDB is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.1% C 0.226 H 279.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#513EDB
RGBrgb(81, 62, 219)
HSLhsl(247, 69%, 55%)
HSVhsv(247, 72%, 86%)
CMYKcmyk(63%, 71.7%, 0%, 14.1%)
CIE-LABlab(38.39, 52.15, -77.22)
CIE-LCHlch(38.39, 93.18, 304.03°)
OKLaboklab(49.15% 0.0374 -0.2228)
OKLCHoklch(49.15% 0.226 279.5)
XYZxyz(17.8981, 10.3077, 68.0505)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EDB #C8DB3E
analogous
#3E7ADB #513EDB #9F3EDB
triadic
#513EDB #DB513E #3EDB51
tetradic
#513EDB #DB3E7A #C8DB3E #3EDB9F
square
#513EDB #DB3E7A #C8DB3E #3EDB9F
split-complementary
#513EDB #DB9F3E #7ADB3E
monochromatic
#261986 #3523B9 #513EDB #8072E5 #AEA5EE

Accessibility & contrast

On white

6.86
#513EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#513EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513EDB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EDB#FFFFFF#000000##FFFFFF
##513EDB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E0
Deuteranopia (green-blind)
#0054D8
Tritanopia (blue-blind)
#006A89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #513edb;
/* rgb */ color: rgb(81, 62, 219);
/* oklch */ color: oklch(49.1% 0.226 279.5);
Tailwind
colors: {
  custom: {
    50: '#9276e7',
    500: '#513edb',
    950: '#000000',
  },
}
SCSS
$custom: #513edb;
$custom-light: #9276e7;
$custom-dark: #000000;
JSON
{
  "hex": "#513edb",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 247.261,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.22596,
    "h": 279.5
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#513EDB
secondary
#D3DB99
accent
#EB3CD6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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