#513FCC#513FCC

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

Color values

HEX#513FCC
RGBrgb(81, 63, 204)
HSLhsl(248, 58%, 52%)
HSVhsv(248, 69%, 80%)
CMYKcmyk(60.3%, 69.1%, 0%, 20%)
CIE-LABlab(37.23, 47.02, -70.47)
CIE-LCHlch(37.23, 84.72, 303.71°)
OKLaboklab(47.91% 0.0394 -0.2031)
OKLCHoklch(47.91% 0.207 281)
XYZxyz(16.0665, 9.6628, 58.1335)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FCC #BACC3F
analogous
#3F73CC #513FCC #983FCC
triadic
#513FCC #CC513F #3FCC51
tetradic
#513FCC #CC3F73 #BACC3F #3FCC98
square
#513FCC #CC3F73 #BACC3F #3FCC98
split-complementary
#513FCC #CC983F #73CC3F
monochromatic
#291E72 #3A2BA3 #513FCC #7D6FD9 #A9A0E6

Accessibility & contrast

On white

7.16
#513FCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#513FCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FCC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FCC#FFFFFF#000000##FFFFFF
##513FCC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513fcc;
/* rgb */ color: rgb(81, 63, 204);
/* oklch */ color: oklch(47.9% 0.207 281.0);
Tailwind
colors: {
  custom: {
    50: '#8f76dd',
    500: '#513fcc',
    950: '#000000',
  },
}
SCSS
$custom: #513fcc;
$custom-light: #8f76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#513fcc",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 247.66,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47906,
    "c": 0.20689,
    "h": 281
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#513FCC
secondary
#CAD295
accent
#E147CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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