#513FCE#513FCE

#513FCE is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.209 H 280.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#513FCE
RGBrgb(81, 63, 206)
HSLhsl(248, 59%, 53%)
HSVhsv(248, 69%, 81%)
CMYKcmyk(60.7%, 69.4%, 0%, 19.2%)
CIE-LABlab(37.41, 47.63, -71.34)
CIE-LCHlch(37.41, 85.78, 303.73°)
OKLaboklab(48.09% 0.0391 -0.2056)
OKLCHoklch(48.09% 0.209 280.8)
XYZxyz(16.3079, 9.7594, 59.4049)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FCE #BCCE3F
analogous
#3F75CE #513FCE #983FCE
triadic
#513FCE #CE513F #3FCE51
tetradic
#513FCE #CE3F75 #BCCE3F #3FCE98
square
#513FCE #CE3F75 #BCCE3F #3FCE98
split-complementary
#513FCE #CE983F #75CE3F
monochromatic
#291E75 #3A2AA6 #513FCE #7D70DA #A9A1E7

Accessibility & contrast

On white

7.11
#513FCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#513FCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FCE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FCE#FFFFFF#000000##FFFFFF
##513FCE1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006582
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513fce;
/* rgb */ color: rgb(81, 63, 206);
/* oklch */ color: oklch(48.1% 0.209 280.8);
Tailwind
colors: {
  custom: {
    50: '#9076de',
    500: '#513fce',
    950: '#000000',
  },
}
SCSS
$custom: #513fce;
$custom-light: #9076de;
$custom-dark: #000000;
JSON
{
  "hex": "#513fce",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 247.552,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.20932,
    "h": 280.8
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#513FCE
secondary
#CCD395
accent
#E345CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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