#513FC5#513FC5

#513FC5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.3% C 0.198 H 281.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#513FC5
RGBrgb(81, 63, 197)
HSLhsl(248, 54%, 51%)
HSVhsv(248, 68%, 77%)
CMYKcmyk(58.9%, 68%, 0%, 22.7%)
CIE-LABlab(36.62, 44.86, -67.40)
CIE-LCHlch(36.62, 80.96, 303.64°)
OKLaboklab(47.28% 0.0405 -0.1941)
OKLCHoklch(47.28% 0.198 281.8)
XYZxyz(15.2457, 9.3345, 53.8109)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FC5 #B3C53F
analogous
#3F70C5 #513FC5 #943FC5
triadic
#513FC5 #C5513F #3FC551
tetradic
#513FC5 #C53F70 #B3C53F #3FC594
square
#513FC5 #C53F70 #B3C53F #3FC594
split-complementary
#513FC5 #C5943F #70C53F
monochromatic
#2A206A #3C2E99 #513FC5 #7C6ED3 #A69DE1

Accessibility & contrast

On white

7.32
#513FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#513FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FC5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FC5#FFFFFF#000000##FFFFFF
##513FC51.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513fc5;
/* rgb */ color: rgb(81, 63, 197);
/* oklch */ color: oklch(47.3% 0.198 281.8);
Tailwind
colors: {
  custom: {
    50: '#8e76d8',
    500: '#513fc5',
    950: '#000000',
  },
}
SCSS
$custom: #513fc5;
$custom-light: #8e76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#513fc5",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 248.06,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47281,
    "c": 0.19827,
    "h": 281.8
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#513FC5
secondary
#C6CE92
accent
#DD4BC9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #513FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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