#513DC2#513DC2

#513DC2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.7% C 0.197 H 282.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#513DC2
RGBrgb(81, 61, 194)
HSLhsl(249, 52%, 50%)
HSVhsv(249, 69%, 76%)
CMYKcmyk(58.2%, 68.6%, 0%, 23.9%)
CIE-LABlab(35.95, 45.06, -66.75)
CIE-LCHlch(35.95, 80.54, 304.02°)
OKLaboklab(46.72% 0.0426 -0.1922)
OKLCHoklch(46.72% 0.197 282.5)
XYZxyz(14.7967, 8.9809, 51.9823)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DC2 #AEC23D
analogous
#3D6BC2 #513DC2 #943DC2
triadic
#513DC2 #C2513D #3DC251
tetradic
#513DC2 #C23D6B #AEC23D #3DC294
square
#513DC2 #C23D6B #AEC23D #3DC294
split-complementary
#513DC2 #C2943D #6BC23D
monochromatic
#2A2065 #3E2E93 #513DC2 #7B6CD1 #A59ADF

Accessibility & contrast

On white

7.51
#513DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#513DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DC2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DC2#FFFFFF#000000##FFFFFF
##513DC21.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#0B607B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513dc2;
/* rgb */ color: rgb(81, 61, 194);
/* oklch */ color: oklch(46.7% 0.197 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e74d6',
    500: '#513dc2',
    950: '#000000',
  },
}
SCSS
$custom: #513dc2;
$custom-light: #8e74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#513dc2",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 249.023,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.19685,
    "h": 282.5
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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