#513DC6#513DC6

#513DC6 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.1% C 0.202 H 282.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#513DC6
RGBrgb(81, 61, 198)
HSLhsl(249, 55%, 51%)
HSVhsv(249, 69%, 78%)
CMYKcmyk(59.1%, 69.2%, 0%, 22.4%)
CIE-LABlab(36.30, 46.29, -68.51)
CIE-LCHlch(36.30, 82.69, 304.04°)
OKLaboklab(47.08% 0.042 -0.1973)
OKLCHoklch(47.08% 0.202 282)
XYZxyz(15.2519, 9.1630, 54.3801)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DC6 #B2C63D
analogous
#3D6DC6 #513DC6 #953DC6
triadic
#513DC6 #C6513D #3DC651
tetradic
#513DC6 #C63D6D #B2C63D #3DC695
square
#513DC6 #C63D6D #B2C63D #3DC695
split-complementary
#513DC6 #C6953D #6DC63D
monochromatic
#2A1F6A #3D2D99 #513DC6 #7B6CD4 #A69CE2

Accessibility & contrast

On white

7.41
#513DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#513DC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DC6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DC6#FFFFFF#000000##FFFFFF
##513DC61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513dc6;
/* rgb */ color: rgb(81, 61, 198);
/* oklch */ color: oklch(47.1% 0.202 282.0);
Tailwind
colors: {
  custom: {
    50: '#8e74d8',
    500: '#513dc6',
    950: '#000000',
  },
}
SCSS
$custom: #513dc6;
$custom-light: #8e74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#513dc6",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 248.759,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.20176,
    "h": 282
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#513DC6
secondary
#C5CE91
accent
#DE4AC8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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