#513FBE#513FBE

#513FBE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.7% C 0.190 H 282.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#513FBE
RGBrgb(81, 63, 190)
HSLhsl(249, 50%, 50%)
HSVhsv(249, 67%, 75%)
CMYKcmyk(57.4%, 66.8%, 0%, 25.5%)
CIE-LABlab(36.02, 42.69, -64.28)
CIE-LCHlch(36.02, 77.16, 303.59°)
OKLaboklab(46.67% 0.0415 -0.1849)
OKLCHoklch(46.67% 0.19 282.6)
XYZxyz(14.4622, 9.0211, 49.6844)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FBE #ACBE3F
analogous
#3F6DBE #513FBE #913FBE
triadic
#513FBE #BE513F #3FBE51
tetradic
#513FBE #BE3F6D #ACBE3F #3FBE91
square
#513FBE #BE3F6D #ACBE3F #3FBE91
split-complementary
#513FBE #BE913F #6DBE3F
monochromatic
#2A2162 #3D3090 #513FBE #7A6CCE #A39ADD

Accessibility & contrast

On white

7.49
#513FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513FBE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FBE#FFFFFF#000000##FFFFFF
##513FBE1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#156079
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513fbe;
/* rgb */ color: rgb(81, 63, 190);
/* oklch */ color: oklch(46.7% 0.190 282.6);
Tailwind
colors: {
  custom: {
    50: '#8d75d3',
    500: '#513fbe',
    950: '#000000',
  },
}
SCSS
$custom: #513fbe;
$custom-light: #8d75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513fbe",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 248.504,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.18953,
    "h": 282.6
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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