#513FC2#513FC2

#513FC2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 47.0% C 0.195 H 282.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#513FC2
RGBrgb(81, 63, 194)
HSLhsl(248, 52%, 50%)
HSVhsv(248, 68%, 76%)
CMYKcmyk(58.2%, 67.5%, 0%, 23.9%)
CIE-LABlab(36.36, 43.93, -66.07)
CIE-LCHlch(36.36, 79.34, 303.62°)
OKLaboklab(47.02% 0.0409 -0.1902)
OKLCHoklch(47.02% 0.195 282.1)
XYZxyz(14.9054, 9.1984, 52.0185)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FC2 #B0C23F
analogous
#3F6FC2 #513FC2 #923FC2
triadic
#513FC2 #C2513F #3FC251
tetradic
#513FC2 #C23F6F #B0C23F #3FC292
square
#513FC2 #C23F6F #B0C23F #3FC292
split-complementary
#513FC2 #C2923F #6FC23F
monochromatic
#2A2066 #3D2F95 #513FC2 #7B6DD1 #A59CE0

Accessibility & contrast

On white

7.39
#513FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#513FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FC2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FC2#FFFFFF#000000##FFFFFF
##513FC21.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#0A617B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513fc2;
/* rgb */ color: rgb(81, 63, 194);
/* oklch */ color: oklch(47.0% 0.195 282.1);
Tailwind
colors: {
  custom: {
    50: '#8d76d5',
    500: '#513fc2',
    950: '#000000',
  },
}
SCSS
$custom: #513fc2;
$custom-light: #8d76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#513fc2",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 248.244,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.19454,
    "h": 282.1
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#513FC2
secondary
#C4CC91
accent
#DB4DC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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