#513DBE#513DBE

#513DBE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.4% C 0.192 H 283.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#513DBE
RGBrgb(81, 61, 190)
HSLhsl(249, 51%, 49%)
HSVhsv(249, 68%, 75%)
CMYKcmyk(57.4%, 67.9%, 0%, 25.5%)
CIE-LABlab(35.60, 43.83, -64.97)
CIE-LCHlch(35.60, 78.37, 304.01°)
OKLaboklab(46.37% 0.0432 -0.1869)
OKLCHoklch(46.37% 0.192 283)
XYZxyz(14.3535, 8.8036, 49.6481)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DBE #AABE3D
analogous
#3D6ABE #513DBE #923DBE
triadic
#513DBE #BE513D #3DBE51
tetradic
#513DBE #BE3D6A #AABE3D #3DBE92
square
#513DBE #BE3D6A #AABE3D #3DBE92
split-complementary
#513DBE #BE923D #6ABE3D
monochromatic
#2A1F61 #3D2E90 #513DBE #7969CF #A298DE

Accessibility & contrast

On white

7.61
#513DBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513DBE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DBE#FFFFFF#000000##FFFFFF
##513DBE1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#155E78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513dbe;
/* rgb */ color: rgb(81, 61, 190);
/* oklch */ color: oklch(46.4% 0.192 283.0);
Tailwind
colors: {
  custom: {
    50: '#8d74d3',
    500: '#513dbe',
    950: '#000000',
  },
}
SCSS
$custom: #513dbe;
$custom-light: #8d74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513dbe",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 249.302,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.19188,
    "h": 283
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#513DBE
secondary
#C0C98D
accent
#DB4DC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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