#513CC2#513CC2

#513CC2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.6% C 0.198 H 282.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#513CC2
RGBrgb(81, 60, 194)
HSLhsl(249, 53%, 50%)
HSVhsv(249, 69%, 76%)
CMYKcmyk(58.2%, 69.1%, 0%, 23.9%)
CIE-LABlab(35.74, 45.63, -67.08)
CIE-LCHlch(35.74, 81.13, 304.22°)
OKLaboklab(46.57% 0.0434 -0.1932)
OKLCHoklch(46.57% 0.198 282.7)
XYZxyz(14.7438, 8.8751, 51.9646)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CC2 #ADC23C
analogous
#3C6AC2 #513CC2 #943CC2
triadic
#513CC2 #C2513C #3CC251
tetradic
#513CC2 #C23C6A #ADC23C #3CC294
square
#513CC2 #C23C6A #ADC23C #3CC294
split-complementary
#513CC2 #C2943C #6AC23C
monochromatic
#2A1F65 #3D2E93 #513CC2 #7A6AD1 #A499DF

Accessibility & contrast

On white

7.57
#513CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513CC2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CC2#FFFFFF#000000##FFFFFF
##513CC21.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#0B5F7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513cc2;
/* rgb */ color: rgb(81, 60, 194);
/* oklch */ color: oklch(46.6% 0.198 282.7);
Tailwind
colors: {
  custom: {
    50: '#8e74d6',
    500: '#513cc2',
    950: '#000000',
  },
}
SCSS
$custom: #513cc2;
$custom-light: #8e74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#513cc2",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 249.403,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46571,
    "c": 0.19798,
    "h": 282.7
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#513CC2
secondary
#C2CB8F
accent
#DC4CC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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