#513FC4#513FC4

#513FC4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.2% C 0.197 H 281.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#513FC4
RGBrgb(81, 63, 196)
HSLhsl(248, 53%, 51%)
HSVhsv(248, 68%, 77%)
CMYKcmyk(58.7%, 67.9%, 0%, 23.1%)
CIE-LABlab(36.53, 44.55, -66.96)
CIE-LCHlch(36.53, 80.42, 303.64°)
OKLaboklab(47.19% 0.0407 -0.1928)
OKLCHoklch(47.19% 0.197 281.9)
XYZxyz(15.1315, 9.2888, 53.2094)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FC4 #B2C43F
analogous
#3F6FC4 #513FC4 #933FC4
triadic
#513FC4 #C4513F #3FC451
tetradic
#513FC4 #C43F6F #B2C43F #3FC493
square
#513FC4 #C43F6F #B2C43F #3FC493
split-complementary
#513FC4 #C4933F #6FC43F
monochromatic
#2A2068 #3D2E97 #513FC4 #7B6ED2 #A69DE1

Accessibility & contrast

On white

7.35
#513FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#513FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FC4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FC4#FFFFFF#000000##FFFFFF
##513FC41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#03627C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513fc4;
/* rgb */ color: rgb(81, 63, 196);
/* oklch */ color: oklch(47.2% 0.197 281.9);
Tailwind
colors: {
  custom: {
    50: '#8e76d7',
    500: '#513fc4',
    950: '#000000',
  },
}
SCSS
$custom: #513fc4;
$custom-light: #8e76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#513fc4",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 248.12,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47193,
    "c": 0.19703,
    "h": 281.9
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#513FC4
secondary
#C5CD92
accent
#DC4BC9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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