#513DD2#513DD2

#513DD2 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.2% C 0.216 H 280.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#513DD2
RGBrgb(81, 61, 210)
HSLhsl(248, 62%, 53%)
HSVhsv(248, 71%, 82%)
CMYKcmyk(61.4%, 71%, 0%, 17.6%)
CIE-LABlab(37.37, 49.96, -73.72)
CIE-LCHlch(37.37, 89.05, 304.12°)
OKLaboklab(48.17% 0.0398 -0.2126)
OKLCHoklch(48.17% 0.216 280.6)
XYZxyz(16.6913, 9.7387, 61.9605)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DD2 #BED23D
analogous
#3D73D2 #513DD2 #9C3DD2
triadic
#513DD2 #D2513D #3DD251
tetradic
#513DD2 #D23D73 #BED23D #3DD29C
square
#513DD2 #D23D73 #BED23D #3DD29C
split-complementary
#513DD2 #D29C3D #73D23D
monochromatic
#281C79 #3928AA #513DD2 #7E6FDE #AAA0E9

Accessibility & contrast

On white

7.12
#513DD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513DD2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DD2#FFFFFF#000000##FFFFFF
##513DD21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513dd2;
/* rgb */ color: rgb(81, 61, 210);
/* oklch */ color: oklch(48.2% 0.216 280.6);
Tailwind
colors: {
  custom: {
    50: '#9075e1',
    500: '#513dd2',
    950: '#000000',
  },
}
SCSS
$custom: #513dd2;
$custom-light: #9075e1;
$custom-dark: #000000;
JSON
{
  "hex": "#513dd2",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 248.054,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.21629,
    "h": 280.6
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#513DD2
secondary
#CDD695
accent
#E542D0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #513DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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