#513EBB#513EBB

#513EBB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.3% C 0.187 H 283.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#513EBB
RGBrgb(81, 62, 187)
HSLhsl(249, 50%, 49%)
HSVhsv(249, 67%, 73%)
CMYKcmyk(56.7%, 66.8%, 0%, 26.7%)
CIE-LABlab(35.56, 42.34, -63.27)
CIE-LCHlch(35.56, 76.13, 303.79°)
OKLaboklab(46.26% 0.0428 -0.182)
OKLCHoklch(46.26% 0.187 283.2)
XYZxyz(14.0828, 8.7816, 47.9570)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EBB #A8BB3E
analogous
#3E6ABB #513EBB #903EBB
triadic
#513EBB #BB513E #3EBB51
tetradic
#513EBB #BB3E6A #A8BB3E #3EBB90
square
#513EBB #BB3E6A #A8BB3E #3EBB90
split-complementary
#513EBB #BB903E #6ABB3E
monochromatic
#29205F #3D2F8D #513EBB #7869CD #A197DC

Accessibility & contrast

On white

7.62
#513EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#513EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EBB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EBB#FFFFFF#000000##FFFFFF
##513EBB1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#1B5E77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513ebb;
/* rgb */ color: rgb(81, 62, 187);
/* oklch */ color: oklch(46.3% 0.187 283.2);
Tailwind
colors: {
  custom: {
    50: '#8c75d0',
    500: '#513ebb',
    950: '#000000',
  },
}
SCSS
$custom: #513ebb;
$custom-light: #8c75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#513ebb",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 249.12,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.18694,
    "h": 283.2
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#513EBB
secondary
#BFC88D
accent
#DA4EC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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