#513EBA#513EBA

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

Color values

HEX#513EBA
RGBrgb(81, 62, 186)
HSLhsl(249, 50%, 49%)
HSVhsv(249, 67%, 73%)
CMYKcmyk(56.5%, 66.7%, 0%, 27.1%)
CIE-LABlab(35.48, 42.03, -62.82)
CIE-LCHlch(35.48, 75.58, 303.78°)
OKLaboklab(46.17% 0.0429 -0.1806)
OKLCHoklch(46.17% 0.186 283.4)
XYZxyz(13.9762, 8.7389, 47.3952)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EBA #A7BA3E
analogous
#3E69BA #513EBA #8F3EBA
triadic
#513EBA #BA513E #3EBA51
tetradic
#513EBA #BA3E69 #A7BA3E #3EBA8F
square
#513EBA #BA3E69 #A7BA3E #3EBA8F
split-complementary
#513EBA #BA8F3E #69BA3E
monochromatic
#291F5E #3D2F8C #513EBA #7868CD #A196DC

Accessibility & contrast

On white

7.64
#513EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#513EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EBA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EBA#FFFFFF#000000##FFFFFF
##513EBA1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#1C5E77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513eba;
/* rgb */ color: rgb(81, 62, 186);
/* oklch */ color: oklch(46.2% 0.186 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c75d0',
    500: '#513eba',
    950: '#000000',
  },
}
SCSS
$custom: #513eba;
$custom-light: #8c75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#513eba",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 249.194,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.18568,
    "h": 283.4
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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