#513FB3#513FB3

#513FB3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.176 H 284.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#513FB3
RGBrgb(81, 63, 179)
HSLhsl(249, 48%, 47%)
HSVhsv(249, 65%, 70%)
CMYKcmyk(54.7%, 64.8%, 0%, 29.8%)
CIE-LABlab(35.12, 39.27, -59.27)
CIE-LCHlch(35.12, 71.10, 303.53°)
OKLaboklab(45.73% 0.0428 -0.1702)
OKLCHoklch(45.73% 0.176 284.1)
XYZxyz(13.3051, 8.5583, 43.5899)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FB3 #A1B33F
analogous
#3F67B3 #513FB3 #8B3FB3
triadic
#513FB3 #B3513F #3FB351
tetradic
#513FB3 #B33F67 #A1B33F #3FB38B
square
#513FB3 #B33F67 #A1B33F #3FB38B
split-complementary
#513FB3 #B38B3F #67B33F
monochromatic
#281F58 #3D2F86 #513FB3 #7566C9 #9E93D9

Accessibility & contrast

On white

7.74
#513FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#513FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FB3
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FB3#FFFFFF#000000##FFFFFF
##513FB31.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#255C73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513fb3;
/* rgb */ color: rgb(81, 63, 179);
/* oklch */ color: oklch(45.7% 0.176 284.1);
Tailwind
colors: {
  custom: {
    50: '#8b75cb',
    500: '#513fb3',
    950: '#000000',
  },
}
SCSS
$custom: #513fb3;
$custom-light: #8b75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#513fb3",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 249.31,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.17551,
    "h": 284.1
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#513FB3
secondary
#BBC489
accent
#D850C3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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