#513CC1#513CC1

#513CC1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.5% C 0.197 H 282.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#513CC1
RGBrgb(81, 60, 193)
HSLhsl(249, 53%, 50%)
HSVhsv(249, 69%, 76%)
CMYKcmyk(58%, 68.9%, 0%, 24.3%)
CIE-LABlab(35.66, 45.32, -66.64)
CIE-LCHlch(35.66, 80.59, 304.22°)
OKLaboklab(46.48% 0.0436 -0.1919)
OKLCHoklch(46.48% 0.197 282.8)
XYZxyz(14.6319, 8.8304, 51.3751)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CC1 #ACC13C
analogous
#3C69C1 #513CC1 #943CC1
triadic
#513CC1 #C1513C #3CC151
tetradic
#513CC1 #C13C69 #ACC13C #3CC194
square
#513CC1 #C13C69 #ACC13C #3CC194
split-complementary
#513CC1 #C1943C #69C13C
monochromatic
#2A1F64 #3D2D92 #513CC1 #7A6AD1 #A398DF

Accessibility & contrast

On white

7.59
#513CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#513CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CC1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CC1#FFFFFF#000000##FFFFFF
##513CC11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#0E5F7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513cc1;
/* rgb */ color: rgb(81, 60, 193);
/* oklch */ color: oklch(46.5% 0.197 282.8);
Tailwind
colors: {
  custom: {
    50: '#8e74d5',
    500: '#513cc1',
    950: '#000000',
  },
}
SCSS
$custom: #513cc1;
$custom-light: #8e74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#513cc1",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 249.474,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.19675,
    "h": 282.8
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#513CC1
secondary
#C1CB8E
accent
#DC4CC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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