#513DBC#513DBC

#513DBC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.2% C 0.189 H 283.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#513DBC
RGBrgb(81, 61, 188)
HSLhsl(249, 51%, 49%)
HSVhsv(249, 68%, 74%)
CMYKcmyk(56.9%, 67.6%, 0%, 26.3%)
CIE-LABlab(35.43, 43.22, -64.07)
CIE-LCHlch(35.43, 77.28, 304.00°)
OKLaboklab(46.19% 0.0435 -0.1843)
OKLCHoklch(46.19% 0.189 283.3)
XYZxyz(14.1364, 8.7168, 48.5048)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DBC #A8BC3D
analogous
#3D69BC #513DBC #913DBC
triadic
#513DBC #BC513D #3DBC51
tetradic
#513DBC #BC3D69 #A8BC3D #3DBC91
square
#513DBC #BC3D69 #A8BC3D #3DBC91
split-complementary
#513DBC #BC913D #69BC3D
monochromatic
#291F60 #3D2E8E #513DBC #7868CE #A196DD

Accessibility & contrast

On white

7.65
#513DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#513DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DBC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DBC#FFFFFF#000000##FFFFFF
##513DBC1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#195E77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513dbc;
/* rgb */ color: rgb(81, 61, 188);
/* oklch */ color: oklch(46.2% 0.189 283.3);
Tailwind
colors: {
  custom: {
    50: '#8d74d1',
    500: '#513dbc',
    950: '#000000',
  },
}
SCSS
$custom: #513dbc;
$custom-light: #8d74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#513dbc",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 249.449,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.18939,
    "h": 283.3
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#513DBC
secondary
#BFC98C
accent
#DA4DC4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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