#513EB2#513EB2

#513EB2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.175 H 284.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#513EB2
RGBrgb(81, 62, 178)
HSLhsl(250, 48%, 47%)
HSVhsv(250, 65%, 70%)
CMYKcmyk(54.5%, 65.2%, 0%, 30.2%)
CIE-LABlab(34.82, 39.55, -59.16)
CIE-LCHlch(34.82, 71.17, 303.76°)
OKLaboklab(45.49% 0.0439 -0.1699)
OKLCHoklch(45.49% 0.175 284.5)
XYZxyz(13.1494, 8.4082, 43.0409)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EB2 #9FB23E
analogous
#3E65B2 #513EB2 #8B3EB2
triadic
#513EB2 #B2513E #3EB251
tetradic
#513EB2 #B23E65 #9FB23E #3EB28B
square
#513EB2 #B23E65 #9FB23E #3EB28B
split-complementary
#513EB2 #B28B3E #65B23E
monochromatic
#281E57 #3C2E85 #513EB2 #7564C9 #9D92D9

Accessibility & contrast

On white

7.83
#513EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#513EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EB2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EB2#FFFFFF#000000##FFFFFF
##513EB21.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#275B72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #513eb2;
/* rgb */ color: rgb(81, 62, 178);
/* oklch */ color: oklch(45.5% 0.175 284.5);
Tailwind
colors: {
  custom: {
    50: '#8b74ca',
    500: '#513eb2',
    950: '#000000',
  },
}
SCSS
$custom: #513eb2;
$custom-light: #8b74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#513eb2",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 249.828,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45489,
    "c": 0.17548,
    "h": 284.5
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#513EB2
secondary
#BAC488
accent
#D850C2
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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