#513CE3#513CE3

#513CE3 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.6% C 0.237 H 279.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#513CE3
RGBrgb(81, 60, 227)
HSLhsl(248, 75%, 56%)
HSVhsv(248, 74%, 89%)
CMYKcmyk(64.3%, 73.6%, 0%, 11%)
CIE-LABlab(38.77, 55.61, -81.17)
CIE-LCHlch(38.77, 98.39, 304.41°)
OKLaboklab(49.64% 0.037 -0.2343)
OKLCHoklch(49.64% 0.237 279)
XYZxyz(18.8699, 10.5256, 73.6954)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CE3 #CEE33C
analogous
#3C7BE3 #513CE3 #A53CE3
triadic
#513CE3 #E3513C #3CE351
tetradic
#513CE3 #E33C7B #CEE33C #3CE3A5
square
#513CE3 #E33C7B #CEE33C #3CE3A5
split-complementary
#513CE3 #E3A53C #7BE33C
monochromatic
#241590 #321CC5 #513CE3 #8172EB #B1A7F2

Accessibility & contrast

On white

6.76
#513CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#513CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513CE3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CE3#FFFFFF#000000##FFFFFF
##513CE31.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E8
Deuteranopia (green-blind)
#0055E0
Tritanopia (blue-blind)
#006C8D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #513ce3;
/* rgb */ color: rgb(81, 60, 227);
/* oklch */ color: oklch(49.6% 0.237 279.0);
Tailwind
colors: {
  custom: {
    50: '#9475ed',
    500: '#513ce3',
    950: '#000000',
  },
}
SCSS
$custom: #513ce3;
$custom-light: #9475ed;
$custom-dark: #000000;
JSON
{
  "hex": "#513ce3",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 247.545,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.23726,
    "h": 279
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#513CE3
secondary
#D7E09B
accent
#F236DA
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #513CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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