#513DCE#513DCE

#513DCE is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.8% C 0.211 H 281.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#513DCE
RGBrgb(81, 61, 206)
HSLhsl(248, 60%, 52%)
HSVhsv(248, 70%, 81%)
CMYKcmyk(60.7%, 70.4%, 0%, 19.2%)
CIE-LABlab(37.01, 48.74, -72.00)
CIE-LCHlch(37.01, 86.94, 304.10°)
OKLaboklab(47.8% 0.0406 -0.2076)
OKLCHoklch(47.8% 0.211 281.1)
XYZxyz(16.1992, 9.5419, 59.3687)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DCE #BACE3D
analogous
#3D71CE #513DCE #9A3DCE
triadic
#513DCE #CE513D #3DCE51
tetradic
#513DCE #CE3D71 #BACE3D #3DCE9A
square
#513DCE #CE3D71 #BACE3D #3DCE9A
split-complementary
#513DCE #CE9A3D #71CE3D
monochromatic
#291D73 #3A29A4 #513DCE #7D6EDA #A99FE7

Accessibility & contrast

On white

7.22
#513DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513DCE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DCE#FFFFFF#000000##FFFFFF
##513DCE1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513dce;
/* rgb */ color: rgb(81, 61, 206);
/* oklch */ color: oklch(47.8% 0.211 281.1);
Tailwind
colors: {
  custom: {
    50: '#9075de',
    500: '#513dce',
    950: '#000000',
  },
}
SCSS
$custom: #513dce;
$custom-light: #9075de;
$custom-dark: #000000;
JSON
{
  "hex": "#513dce",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 248.276,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47801,
    "c": 0.21149,
    "h": 281.1
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#513DCE
secondary
#CAD394
accent
#E345CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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