#513FBF#513FBF

#513FBF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.8% C 0.191 H 282.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#513FBF
RGBrgb(81, 63, 191)
HSLhsl(248, 50%, 50%)
HSVhsv(248, 67%, 75%)
CMYKcmyk(57.6%, 67%, 0%, 25.1%)
CIE-LABlab(36.11, 43.00, -64.73)
CIE-LCHlch(36.11, 77.71, 303.60°)
OKLaboklab(46.76% 0.0414 -0.1862)
OKLCHoklch(46.76% 0.191 282.5)
XYZxyz(14.5719, 9.0650, 50.2620)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FBF #ADBF3F
analogous
#3F6DBF #513FBF #913FBF
triadic
#513FBF #BF513F #3FBF51
tetradic
#513FBF #BF3F6D #ADBF3F #3FBF91
square
#513FBF #BF3F6D #ADBF3F #3FBF91
split-complementary
#513FBF #BF913F #6DBF3F
monochromatic
#2A2163 #3D3091 #513FBF #7A6DCF #A49BDE

Accessibility & contrast

On white

7.46
#513FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#513FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FBF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FBF#FFFFFF#000000##FFFFFF
##513FBF1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#13607A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513fbf;
/* rgb */ color: rgb(81, 63, 191);
/* oklch */ color: oklch(46.8% 0.191 282.5);
Tailwind
colors: {
  custom: {
    50: '#8d75d3',
    500: '#513fbf',
    950: '#000000',
  },
}
SCSS
$custom: #513fbf;
$custom-light: #8d75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513fbf",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 248.438,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46755,
    "c": 0.19079,
    "h": 282.5
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#513FBF
secondary
#C2CA90
accent
#DA4EC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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