#513BC4#513BC4

#513BC4 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.6% C 0.202 H 282.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#513BC4
RGBrgb(81, 59, 196)
HSLhsl(250, 54%, 50%)
HSVhsv(250, 70%, 77%)
CMYKcmyk(58.7%, 69.9%, 0%, 23.1%)
CIE-LABlab(35.72, 46.79, -68.30)
CIE-LCHlch(35.72, 82.79, 304.42°)
OKLaboklab(46.61% 0.0439 -0.1967)
OKLCHoklch(46.61% 0.202 282.6)
XYZxyz(14.9180, 8.8618, 53.1382)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BC4 #AEC43B
analogous
#3B6AC4 #513BC4 #953BC4
triadic
#513BC4 #C4513B #3BC451
tetradic
#513BC4 #C43B6A #AEC43B #3BC495
square
#513BC4 #C43B6A #AEC43B #3BC495
split-complementary
#513BC4 #C4953B #6AC43B
monochromatic
#2A1F66 #3E2D95 #513BC4 #7B6AD2 #A599E0

Accessibility & contrast

On white

7.57
#513BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#513BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BC4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BC4#FFFFFF#000000##FFFFFF
##513BC41.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#04607B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513bc4;
/* rgb */ color: rgb(81, 59, 196);
/* oklch */ color: oklch(46.6% 0.202 282.6);
Tailwind
colors: {
  custom: {
    50: '#8e73d7',
    500: '#513bc4',
    950: '#000000',
  },
}
SCSS
$custom: #513bc4;
$custom-light: #8e73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#513bc4",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 249.635,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.20155,
    "h": 282.6
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#513BC4
secondary
#C2CC8F
accent
#DD4BC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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