#513ECD#513ECD

#513ECD is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.9% C 0.209 H 281.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#513ECD
RGBrgb(81, 62, 205)
HSLhsl(248, 59%, 52%)
HSVhsv(248, 70%, 80%)
CMYKcmyk(60.5%, 69.8%, 0%, 19.6%)
CIE-LABlab(37.12, 47.88, -71.24)
CIE-LCHlch(37.12, 85.84, 303.91°)
OKLaboklab(47.85% 0.04 -0.2053)
OKLCHoklch(47.85% 0.209 281)
XYZxyz(16.1319, 9.6012, 58.7489)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ECD #BACD3E
analogous
#3E73CD #513ECD #993ECD
triadic
#513ECD #CD513E #3ECD51
tetradic
#513ECD #CD3E73 #BACD3E #3ECD99
square
#513ECD #CD3E73 #BACD3E #3ECD99
split-complementary
#513ECD #CD993E #73CD3E
monochromatic
#291E73 #3A2AA3 #513ECD #7D6FDA #A99FE6

Accessibility & contrast

On white

7.19
#513ECD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#513ECD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ECD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ECD#FFFFFF#000000##FFFFFF
##513ECD1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513ecd;
/* rgb */ color: rgb(81, 62, 205);
/* oklch */ color: oklch(47.9% 0.209 281.0);
Tailwind
colors: {
  custom: {
    50: '#8f75dd',
    500: '#513ecd',
    950: '#000000',
  },
}
SCSS
$custom: #513ecd;
$custom-light: #8f75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#513ecd",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 247.972,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.2092,
    "h": 281
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#513ECD
secondary
#CAD394
accent
#E246CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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