#513EB7#513EB7

#513EB7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.182 H 283.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#513EB7
RGBrgb(81, 62, 183)
HSLhsl(249, 49%, 48%)
HSVhsv(249, 66%, 72%)
CMYKcmyk(55.7%, 66.1%, 0%, 28.2%)
CIE-LABlab(35.23, 41.10, -61.46)
CIE-LCHlch(35.23, 73.93, 303.77°)
OKLaboklab(45.91% 0.0433 -0.1766)
OKLCHoklch(45.91% 0.182 283.8)
XYZxyz(13.6606, 8.6127, 45.7331)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EB7 #A4B73E
analogous
#3E68B7 #513EB7 #8D3EB7
triadic
#513EB7 #B7513E #3EB751
tetradic
#513EB7 #B73E68 #A4B73E #3EB78D
square
#513EB7 #B73E68 #A4B73E #3EB78D
split-complementary
#513EB7 #B78D3E #68B73E
monochromatic
#291F5C #3D2F89 #513EB7 #7767CB #A094DB

Accessibility & contrast

On white

7.71
#513EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#513EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EB7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EB7#FFFFFF#000000##FFFFFF
##513EB71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#215D75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513eb7;
/* rgb */ color: rgb(81, 62, 183);
/* oklch */ color: oklch(45.9% 0.182 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c75ce',
    500: '#513eb7',
    950: '#000000',
  },
}
SCSS
$custom: #513eb7;
$custom-light: #8c75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#513eb7",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 249.421,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.18188,
    "h": 283.8
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#513EB7
secondary
#BDC68A
accent
#D94FC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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