#513DC5#513DC5

#513DC5 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.0% C 0.201 H 282.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#513DC5
RGBrgb(81, 61, 197)
HSLhsl(249, 54%, 51%)
HSVhsv(249, 69%, 77%)
CMYKcmyk(58.9%, 69%, 0%, 22.7%)
CIE-LABlab(36.21, 45.98, -68.07)
CIE-LCHlch(36.21, 82.15, 304.04°)
OKLaboklab(46.99% 0.0421 -0.1961)
OKLCHoklch(46.99% 0.201 282.1)
XYZxyz(15.1370, 9.1170, 53.7746)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DC5 #B1C53D
analogous
#3D6DC5 #513DC5 #953DC5
triadic
#513DC5 #C5513D #3DC551
tetradic
#513DC5 #C53D6D #B1C53D #3DC595
square
#513DC5 #C53D6D #B1C53D #3DC595
split-complementary
#513DC5 #C5953D #6DC53D
monochromatic
#2A1F68 #3D2D98 #513DC5 #7B6CD3 #A69BE1

Accessibility & contrast

On white

7.44
#513DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#513DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DC5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DC5#FFFFFF#000000##FFFFFF
##513DC51.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513dc5;
/* rgb */ color: rgb(81, 61, 197);
/* oklch */ color: oklch(47.0% 0.201 282.1);
Tailwind
colors: {
  custom: {
    50: '#8e74d8',
    500: '#513dc5',
    950: '#000000',
  },
}
SCSS
$custom: #513dc5;
$custom-light: #8e74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#513dc5",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 248.824,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46985,
    "c": 0.20054,
    "h": 282.1
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#513DC5
secondary
#C4CD91
accent
#DD4AC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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