#513ECA#513ECA

#513ECA is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.206 H 281.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#513ECA
RGBrgb(81, 62, 202)
HSLhsl(248, 57%, 52%)
HSVhsv(248, 69%, 79%)
CMYKcmyk(59.9%, 69.3%, 0%, 20.8%)
CIE-LABlab(36.85, 46.96, -69.93)
CIE-LCHlch(36.85, 84.24, 303.88°)
OKLaboklab(47.58% 0.0405 -0.2015)
OKLCHoklch(47.58% 0.206 281.4)
XYZxyz(15.7733, 9.4577, 56.8600)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ECA #B7CA3E
analogous
#3E71CA #513ECA #973ECA
triadic
#513ECA #CA513E #3ECA51
tetradic
#513ECA #CA3E71 #B7CA3E #3ECA97
square
#513ECA #CA3E71 #B7CA3E #3ECA97
split-complementary
#513ECA #CA973E #71CA3E
monochromatic
#291F6F #3B2C9F #513ECA #7C6ED7 #A89EE4

Accessibility & contrast

On white

7.26
#513ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#513ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ECA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ECA#FFFFFF#000000##FFFFFF
##513ECA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513eca;
/* rgb */ color: rgb(81, 62, 202);
/* oklch */ color: oklch(47.6% 0.206 281.4);
Tailwind
colors: {
  custom: {
    50: '#8f75db',
    500: '#513eca',
    950: '#000000',
  },
}
SCSS
$custom: #513eca;
$custom-light: #8f75db;
$custom-dark: #000000;
JSON
{
  "hex": "#513eca",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 248.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.20554,
    "h": 281.4
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#513ECA
secondary
#C8D193
accent
#E048CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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