#513FB9#513FB9

#513FB9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.2% C 0.183 H 283.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#513FB9
RGBrgb(81, 63, 185)
HSLhsl(249, 49%, 49%)
HSVhsv(249, 66%, 73%)
CMYKcmyk(56.2%, 65.9%, 0%, 27.5%)
CIE-LABlab(35.61, 41.14, -62.01)
CIE-LCHlch(35.61, 74.42, 303.56°)
OKLaboklab(46.24% 0.0421 -0.1783)
OKLCHoklch(46.24% 0.183 283.3)
XYZxyz(13.9251, 8.8063, 46.8555)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FB9 #A7B93F
analogous
#3F6AB9 #513FB9 #8E3FB9
triadic
#513FB9 #B9513F #3FB951
tetradic
#513FB9 #B93F6A #A7B93F #3FB98E
square
#513FB9 #B93F6A #A7B93F #3FB98E
split-complementary
#513FB9 #B98E3F #6AB93F
monochromatic
#29205E #3D2F8B #513FB9 #7869CC #A197DC

Accessibility & contrast

On white

7.60
#513FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#513FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FB9
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FB9#FFFFFF#000000##FFFFFF
##513FB91.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#1E5E76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513fb9;
/* rgb */ color: rgb(81, 63, 185);
/* oklch */ color: oklch(46.2% 0.183 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c75cf',
    500: '#513fb9',
    950: '#000000',
  },
}
SCSS
$custom: #513fb9;
$custom-light: #8c75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#513fb9",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 248.852,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.1832,
    "h": 283.3
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#513FB9
secondary
#BFC78D
accent
#D94FC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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