#513FBD#513FBD

#513FBD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.6% C 0.188 H 282.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#513FBD
RGBrgb(81, 63, 189)
HSLhsl(249, 50%, 49%)
HSVhsv(249, 67%, 74%)
CMYKcmyk(57.1%, 66.7%, 0%, 25.9%)
CIE-LABlab(35.94, 42.38, -63.83)
CIE-LCHlch(35.94, 76.61, 303.58°)
OKLaboklab(46.58% 0.0416 -0.1836)
OKLCHoklch(46.58% 0.188 282.8)
XYZxyz(14.3533, 8.9776, 49.1107)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FBD #ABBD3F
analogous
#3F6CBD #513FBD #903FBD
triadic
#513FBD #BD513F #3FBD51
tetradic
#513FBD #BD3F6C #ABBD3F #3FBD90
square
#513FBD #BD3F6C #ABBD3F #3FBD90
split-complementary
#513FBD #BD903F #6CBD3F
monochromatic
#2A2061 #3D308F #513FBD #796BCE #A399DD

Accessibility & contrast

On white

7.51
#513FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#513FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FBD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FBD#FFFFFF#000000##FFFFFF
##513FBD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#175F78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513fbd;
/* rgb */ color: rgb(81, 63, 189);
/* oklch */ color: oklch(46.6% 0.188 282.8);
Tailwind
colors: {
  custom: {
    50: '#8d75d2',
    500: '#513fbd',
    950: '#000000',
  },
}
SCSS
$custom: #513fbd;
$custom-light: #8d75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#513fbd",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 248.571,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46582,
    "c": 0.18827,
    "h": 282.8
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#513FBD
secondary
#C1C98F
accent
#DA4EC6
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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