#513DD0#513DD0

#513DD0 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.0% C 0.214 H 280.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#513DD0
RGBrgb(81, 61, 208)
HSLhsl(248, 61%, 53%)
HSVhsv(248, 71%, 82%)
CMYKcmyk(61.1%, 70.7%, 0%, 18.4%)
CIE-LABlab(37.19, 49.35, -72.86)
CIE-LCHlch(37.19, 88.00, 304.11°)
OKLaboklab(47.99% 0.0402 -0.2101)
OKLCHoklch(47.99% 0.214 280.8)
XYZxyz(16.4437, 9.6397, 60.6564)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DD0 #BCD03D
analogous
#3D73D0 #513DD0 #9A3DD0
triadic
#513DD0 #D0513D #3DD051
tetradic
#513DD0 #D03D73 #BCD03D #3DD09A
square
#513DD0 #D03D73 #BCD03D #3DD09A
split-complementary
#513DD0 #D09A3D #73D03D
monochromatic
#291D76 #3A29A7 #513DD0 #7D6EDC #A9A0E8

Accessibility & contrast

On white

7.17
#513DD0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513DD0
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DD0#FFFFFF#000000##FFFFFF
##513DD01.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#0052CD
Tritanopia (blue-blind)
#006582
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513dd0;
/* rgb */ color: rgb(81, 61, 208);
/* oklch */ color: oklch(48.0% 0.214 280.8);
Tailwind
colors: {
  custom: {
    50: '#9075e0',
    500: '#513dd0',
    950: '#000000',
  },
}
SCSS
$custom: #513dd0;
$custom-light: #9075e0;
$custom-dark: #000000;
JSON
{
  "hex": "#513dd0",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 208
  },
  "hsl": {
    "h": 248.163,
    "s": 60.996,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47985,
    "c": 0.21389,
    "h": 280.8
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#513DD0
secondary
#CCD495
accent
#E444CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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