#513EBF#513EBF

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

Color values

HEX#513EBF
RGBrgb(81, 62, 191)
HSLhsl(249, 51%, 50%)
HSVhsv(249, 68%, 75%)
CMYKcmyk(57.6%, 67.5%, 0%, 25.1%)
CIE-LABlab(35.90, 43.57, -65.07)
CIE-LCHlch(35.90, 78.31, 303.81°)
OKLaboklab(46.6% 0.0422 -0.1873)
OKLCHoklch(46.6% 0.192 282.7)
XYZxyz(14.5170, 8.9552, 50.2437)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EBF #ACBF3E
analogous
#3E6CBF #513EBF #913EBF
triadic
#513EBF #BF513E #3EBF51
tetradic
#513EBF #BF3E6C #ACBF3E #3EBF91
square
#513EBF #BF3E6C #ACBF3E #3EBF91
split-complementary
#513EBF #BF913E #6CBF3E
monochromatic
#2A2063 #3D2F91 #513EBF #7A6BCF #A399DE

Accessibility & contrast

On white

7.52
#513EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513EBF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EBF#FFFFFF#000000##FFFFFF
##513EBF1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#135F79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513ebf;
/* rgb */ color: rgb(81, 62, 191);
/* oklch */ color: oklch(46.6% 0.192 282.7);
Tailwind
colors: {
  custom: {
    50: '#8d75d3',
    500: '#513ebf',
    950: '#000000',
  },
}
SCSS
$custom: #513ebf;
$custom-light: #8d75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513ebf",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 248.837,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46603,
    "c": 0.19196,
    "h": 282.7
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#513EBF
secondary
#C1CA8F
accent
#DA4DC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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