#513CBF#513CBF

#513CBF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.3% C 0.194 H 283.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#513CBF
RGBrgb(81, 60, 191)
HSLhsl(250, 52%, 49%)
HSVhsv(250, 69%, 75%)
CMYKcmyk(57.6%, 68.6%, 0%, 25.1%)
CIE-LABlab(35.48, 44.71, -65.75)
CIE-LCHlch(35.48, 79.51, 304.21°)
OKLaboklab(46.3% 0.0439 -0.1892)
OKLCHoklch(46.3% 0.194 283.1)
XYZxyz(14.4103, 8.7417, 50.2081)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CBF #AABF3C
analogous
#3C69BF #513CBF #933CBF
triadic
#513CBF #BF513C #3CBF51
tetradic
#513CBF #BF3C69 #AABF3C #3CBF93
square
#513CBF #BF3C69 #AABF3C #3CBF93
split-complementary
#513CBF #BF933C #69BF3C
monochromatic
#2A1F62 #3D2D90 #513CBF #7968D0 #A297DE

Accessibility & contrast

On white

7.64
#513CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#513CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CBF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CBF#FFFFFF#000000##FFFFFF
##513CBF1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#135E79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513cbf;
/* rgb */ color: rgb(81, 60, 191);
/* oklch */ color: oklch(46.3% 0.194 283.1);
Tailwind
colors: {
  custom: {
    50: '#8d73d3',
    500: '#513cbf',
    950: '#000000',
  },
}
SCSS
$custom: #513cbf;
$custom-light: #8d73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513cbf",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 249.618,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.19428,
    "h": 283.1
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#513CBF
secondary
#C0CA8D
accent
#DC4CC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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