#513FB0#513FB0

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

Color values

HEX#513FB0
RGBrgb(81, 63, 176)
HSLhsl(250, 47%, 47%)
HSVhsv(250, 64%, 69%)
CMYKcmyk(54%, 64.2%, 0%, 31%)
CIE-LABlab(34.88, 38.34, -57.88)
CIE-LCHlch(34.88, 69.42, 303.52°)
OKLaboklab(45.48% 0.0431 -0.1661)
OKLCHoklch(45.48% 0.172 284.5)
XYZxyz(13.0050, 8.4382, 42.0093)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FB0 #9EB03F
analogous
#3F65B0 #513FB0 #8A3FB0
triadic
#513FB0 #B0513F #3FB051
tetradic
#513FB0 #B03F65 #9EB03F #3FB08A
square
#513FB0 #B03F65 #9EB03F #3FB08A
split-complementary
#513FB0 #B08A3F #65B03F
monochromatic
#281F56 #3C2F83 #513FB0 #7465C8 #9D92D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##513FB0#FFFFFF#000000##FFFFFF
##513FB01.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)
#0055B4
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#295B71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #513fb0;
/* rgb */ color: rgb(81, 63, 176);
/* oklch */ color: oklch(45.5% 0.172 284.5);
Tailwind
colors: {
  custom: {
    50: '#8b75c8',
    500: '#513fb0',
    950: '#000000',
  },
}
SCSS
$custom: #513fb0;
$custom-light: #8b75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#513fb0",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 249.558,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45483,
    "c": 0.17163,
    "h": 284.5
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#513FB0
secondary
#BAC388
accent
#D751C2
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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