#513EB3#513EB3

#513EB3 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.177 H 284.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#513EB3
RGBrgb(81, 62, 179)
HSLhsl(250, 49%, 47%)
HSVhsv(250, 65%, 70%)
CMYKcmyk(54.7%, 65.4%, 0%, 29.8%)
CIE-LABlab(34.90, 39.86, -59.62)
CIE-LCHlch(34.90, 71.72, 303.76°)
OKLaboklab(45.57% 0.0438 -0.1713)
OKLCHoklch(45.57% 0.177 284.3)
XYZxyz(13.2502, 8.4485, 43.5716)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EB3 #A0B33E
analogous
#3E65B3 #513EB3 #8C3EB3
triadic
#513EB3 #B3513E #3EB351
tetradic
#513EB3 #B33E65 #A0B33E #3EB38C
square
#513EB3 #B33E65 #A0B33E #3EB38C
split-complementary
#513EB3 #B38C3E #65B33E
monochromatic
#281F58 #3C2E86 #513EB3 #7565CA #9E92D9

Accessibility & contrast

On white

7.81
#513EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#513EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EB3
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EB3#FFFFFF#000000##FFFFFF
##513EB31.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#265B73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #513eb3;
/* rgb */ color: rgb(81, 62, 179);
/* oklch */ color: oklch(45.6% 0.177 284.3);
Tailwind
colors: {
  custom: {
    50: '#8b74cb',
    500: '#513eb3',
    950: '#000000',
  },
}
SCSS
$custom: #513eb3;
$custom-light: #8b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#513eb3",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 249.744,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45573,
    "c": 0.17677,
    "h": 284.3
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#513EB3
secondary
#BBC588
accent
#D850C2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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