#513DC0#513DC0

#513DC0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.5% C 0.194 H 282.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#513DC0
RGBrgb(81, 61, 192)
HSLhsl(249, 52%, 50%)
HSVhsv(249, 68%, 75%)
CMYKcmyk(57.8%, 68.2%, 0%, 24.7%)
CIE-LABlab(35.77, 44.45, -65.86)
CIE-LCHlch(35.77, 79.46, 304.02°)
OKLaboklab(46.54% 0.0429 -0.1896)
OKLCHoklch(46.54% 0.194 282.8)
XYZxyz(14.5736, 8.8916, 50.8073)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DC0 #ACC03D
analogous
#3D6BC0 #513DC0 #923DC0
triadic
#513DC0 #C0513D #3DC051
tetradic
#513DC0 #C03D6B #ACC03D #3DC092
square
#513DC0 #C03D6B #ACC03D #3DC092
split-complementary
#513DC0 #C0923D #6BC03D
monochromatic
#2A1F63 #3D2E92 #513DC0 #7A6AD0 #A399DF

Accessibility & contrast

On white

7.56
#513DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#513DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DC0
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DC0#FFFFFF#000000##FFFFFF
##513DC01.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#115F79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513dc0;
/* rgb */ color: rgb(81, 61, 192);
/* oklch */ color: oklch(46.5% 0.194 282.8);
Tailwind
colors: {
  custom: {
    50: '#8d74d4',
    500: '#513dc0',
    950: '#000000',
  },
}
SCSS
$custom: #513dc0;
$custom-light: #8d74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#513dc0",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 249.16,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.19437,
    "h": 282.8
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#513DC0
secondary
#C1CA8E
accent
#DB4DC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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