#513FC6#513FC6

#513FC6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.4% C 0.200 H 281.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#513FC6
RGBrgb(81, 63, 198)
HSLhsl(248, 54%, 51%)
HSVhsv(248, 68%, 78%)
CMYKcmyk(59.1%, 68.2%, 0%, 22.4%)
CIE-LABlab(36.71, 45.17, -67.84)
CIE-LCHlch(36.71, 81.50, 303.65°)
OKLaboklab(47.37% 0.0403 -0.1954)
OKLCHoklch(47.37% 0.2 281.7)
XYZxyz(15.3607, 9.3805, 54.4163)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FC6 #B4C63F
analogous
#3F70C6 #513FC6 #943FC6
triadic
#513FC6 #C6513F #3FC651
tetradic
#513FC6 #C63F70 #B4C63F #3FC694
square
#513FC6 #C63F70 #B4C63F #3FC694
split-complementary
#513FC6 #C6943F #70C63F
monochromatic
#2A206B #3C2E9A #513FC6 #7C6ED4 #A79DE2

Accessibility & contrast

On white

7.30
#513FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#513FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FC6
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FC6#FFFFFF#000000##FFFFFF
##513FC61.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513fc6;
/* rgb */ color: rgb(81, 63, 198);
/* oklch */ color: oklch(47.4% 0.200 281.7);
Tailwind
colors: {
  custom: {
    50: '#8e76d8',
    500: '#513fc6',
    950: '#000000',
  },
}
SCSS
$custom: #513fc6;
$custom-light: #8e76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#513fc6",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 248,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.1995,
    "h": 281.7
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#513FC6
secondary
#C6CE93
accent
#DE4ACA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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