#513DC8#513DC8

#513DC8 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.3% C 0.204 H 281.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#513DC8
RGBrgb(81, 61, 200)
HSLhsl(249, 56%, 51%)
HSVhsv(249, 70%, 78%)
CMYKcmyk(59.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(36.47, 46.90, -69.39)
CIE-LCHlch(36.47, 83.76, 304.06°)
OKLaboklab(47.26% 0.0416 -0.1999)
OKLCHoklch(47.26% 0.204 281.8)
XYZxyz(15.4842, 9.2559, 55.6030)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DC8 #B4C83D
analogous
#3D6EC8 #513DC8 #963DC8
triadic
#513DC8 #C8513D #3DC851
tetradic
#513DC8 #C83D6E #B4C83D #3DC896
square
#513DC8 #C83D6E #B4C83D #3DC896
split-complementary
#513DC8 #C8963D #6EC83D
monochromatic
#2A1F6C #3C2C9C #513DC8 #7C6DD6 #A79CE3

Accessibility & contrast

On white

7.36
#513DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#513DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DC8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DC8#FFFFFF#000000##FFFFFF
##513DC81.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513dc8;
/* rgb */ color: rgb(81, 61, 200);
/* oklch */ color: oklch(47.3% 0.204 281.8);
Tailwind
colors: {
  custom: {
    50: '#8f74da',
    500: '#513dc8',
    950: '#000000',
  },
}
SCSS
$custom: #513dc8;
$custom-light: #8f74da;
$custom-dark: #000000;
JSON
{
  "hex": "#513dc8",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 248.633,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47255,
    "c": 0.20421,
    "h": 281.8
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#513DC8
secondary
#C6CF92
accent
#DF49C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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