#513FCA#513FCA

#513FCA is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.204 H 281.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#513FCA
RGBrgb(81, 63, 202)
HSLhsl(248, 57%, 52%)
HSVhsv(248, 69%, 79%)
CMYKcmyk(59.9%, 68.8%, 0%, 20.8%)
CIE-LABlab(37.05, 46.40, -69.60)
CIE-LCHlch(37.05, 83.65, 303.69°)
OKLaboklab(47.73% 0.0397 -0.2005)
OKLCHoklch(47.73% 0.204 281.2)
XYZxyz(15.8282, 9.5675, 56.8783)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FCA #B8CA3F
analogous
#3F73CA #513FCA #973FCA
triadic
#513FCA #CA513F #3FCA51
tetradic
#513FCA #CA3F73 #B8CA3F #3FCA97
square
#513FCA #CA3F73 #B8CA3F #3FCA97
split-complementary
#513FCA #CA973F #73CA3F
monochromatic
#291F70 #3B2CA0 #513FCA #7C6FD7 #A89FE4

Accessibility & contrast

On white

7.21
#513FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#513FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FCA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FCA#FFFFFF#000000##FFFFFF
##513FCA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513fca;
/* rgb */ color: rgb(81, 63, 202);
/* oklch */ color: oklch(47.7% 0.204 281.2);
Tailwind
colors: {
  custom: {
    50: '#8f76db',
    500: '#513fca',
    950: '#000000',
  },
}
SCSS
$custom: #513fca;
$custom-light: #8f76db;
$custom-dark: #000000;
JSON
{
  "hex": "#513fca",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 247.77,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.20444,
    "h": 281.2
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#513FCA
secondary
#C9D194
accent
#E048CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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