#513DC4#513DC4

#513DC4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.9% C 0.199 H 282.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#513DC4
RGBrgb(81, 61, 196)
HSLhsl(249, 53%, 50%)
HSVhsv(249, 69%, 77%)
CMYKcmyk(58.7%, 68.9%, 0%, 23.1%)
CIE-LABlab(36.12, 45.68, -67.63)
CIE-LCHlch(36.12, 81.61, 304.03°)
OKLaboklab(46.9% 0.0423 -0.1948)
OKLCHoklch(46.9% 0.199 282.3)
XYZxyz(15.0228, 9.0713, 53.1732)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DC4 #B0C43D
analogous
#3D6CC4 #513DC4 #953DC4
triadic
#513DC4 #C4513D #3DC451
tetradic
#513DC4 #C43D6C #B0C43D #3DC495
square
#513DC4 #C43D6C #B0C43D #3DC495
split-complementary
#513DC4 #C4953D #6CC43D
monochromatic
#2A1F67 #3D2E96 #513DC4 #7B6CD2 #A59BE1

Accessibility & contrast

On white

7.46
#513DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#513DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DC4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DC4#FFFFFF#000000##FFFFFF
##513DC41.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#03617C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513dc4;
/* rgb */ color: rgb(81, 61, 196);
/* oklch */ color: oklch(46.9% 0.199 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e74d7',
    500: '#513dc4',
    950: '#000000',
  },
}
SCSS
$custom: #513dc4;
$custom-light: #8e74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#513dc4",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 248.889,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.19931,
    "h": 282.3
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#513DC4
secondary
#C4CD90
accent
#DD4BC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #513DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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