#513FBC#513FBC

#513FBC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.5% C 0.187 H 282.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#513FBC
RGBrgb(81, 63, 188)
HSLhsl(249, 50%, 49%)
HSVhsv(249, 66%, 74%)
CMYKcmyk(56.9%, 66.5%, 0%, 26.3%)
CIE-LABlab(35.86, 42.07, -63.38)
CIE-LCHlch(35.86, 76.07, 303.58°)
OKLaboklab(46.5% 0.0418 -0.1823)
OKLCHoklch(46.5% 0.187 282.9)
XYZxyz(14.2451, 8.9343, 48.5411)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FBC #AABC3F
analogous
#3F6CBC #513FBC #903FBC
triadic
#513FBC #BC513F #3FBC51
tetradic
#513FBC #BC3F6C #AABC3F #3FBC90
square
#513FBC #BC3F6C #AABC3F #3FBC90
split-complementary
#513FBC #BC903F #6CBC3F
monochromatic
#2A2060 #3D308E #513FBC #796BCD #A299DD

Accessibility & contrast

On white

7.53
#513FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#513FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FBC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FBC#FFFFFF#000000##FFFFFF
##513FBC1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#195F78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513fbc;
/* rgb */ color: rgb(81, 63, 188);
/* oklch */ color: oklch(46.5% 0.187 282.9);
Tailwind
colors: {
  custom: {
    50: '#8c75d1',
    500: '#513fbc',
    950: '#000000',
  },
}
SCSS
$custom: #513fbc;
$custom-light: #8c75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#513fbc",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 248.64,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.187,
    "h": 282.9
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#513FBC
secondary
#C0C98E
accent
#D94EC5
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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