#513DC1#513DC1

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

Color values

HEX#513DC1
RGBrgb(81, 61, 193)
HSLhsl(249, 52%, 50%)
HSVhsv(249, 68%, 76%)
CMYKcmyk(58%, 68.4%, 0%, 24.3%)
CIE-LABlab(35.86, 44.76, -66.30)
CIE-LCHlch(35.86, 80.00, 304.02°)
OKLaboklab(46.63% 0.0428 -0.1909)
OKLCHoklch(46.63% 0.196 282.6)
XYZxyz(14.6847, 8.9361, 51.3928)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DC1 #ADC13D
analogous
#3D6BC1 #513DC1 #933DC1
triadic
#513DC1 #C1513D #3DC151
tetradic
#513DC1 #C13D6B #ADC13D #3DC193
square
#513DC1 #C13D6B #ADC13D #3DC193
split-complementary
#513DC1 #C1933D #6BC13D
monochromatic
#2A2064 #3D2E92 #513DC1 #7A6BD0 #A499DF

Accessibility & contrast

On white

7.53
#513DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#513DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DC1
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DC1#FFFFFF#000000##FFFFFF
##513DC11.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#0050BE
Tritanopia (blue-blind)
#0E5F7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513dc1;
/* rgb */ color: rgb(81, 61, 193);
/* oklch */ color: oklch(46.6% 0.196 282.6);
Tailwind
colors: {
  custom: {
    50: '#8d74d5',
    500: '#513dc1',
    950: '#000000',
  },
}
SCSS
$custom: #513dc1;
$custom-light: #8d74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#513dc1",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 249.091,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.1956,
    "h": 282.6
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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