#513BC1#513BC1

#513BC1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.3% C 0.198 H 283.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#513BC1
RGBrgb(81, 59, 193)
HSLhsl(250, 53%, 49%)
HSVhsv(250, 69%, 76%)
CMYKcmyk(58%, 69.4%, 0%, 24.3%)
CIE-LABlab(35.45, 45.88, -66.97)
CIE-LCHlch(35.45, 81.18, 304.41°)
OKLaboklab(46.34% 0.0444 -0.1928)
OKLCHoklch(46.34% 0.198 283)
XYZxyz(14.5800, 8.7266, 51.3578)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BC1 #ABC13B
analogous
#3B68C1 #513BC1 #943BC1
triadic
#513BC1 #C1513B #3BC151
tetradic
#513BC1 #C13B68 #ABC13B #3BC194
square
#513BC1 #C13B68 #ABC13B #3BC194
split-complementary
#513BC1 #C1943B #68C13B
monochromatic
#2A1E63 #3D2D92 #513BC1 #7968D1 #A397DF

Accessibility & contrast

On white

7.65
#513BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#513BC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BC1
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BC1#FFFFFF#000000##FFFFFF
##513BC11.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513bc1;
/* rgb */ color: rgb(81, 59, 193);
/* oklch */ color: oklch(46.3% 0.198 283.0);
Tailwind
colors: {
  custom: {
    50: '#8e73d5',
    500: '#513bc1',
    950: '#000000',
  },
}
SCSS
$custom: #513bc1;
$custom-light: #8e73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#513bc1",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 249.851,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46336,
    "c": 0.19788,
    "h": 283
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#513BC1
secondary
#C1CB8D
accent
#DD4BC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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