#513DBA#513DBA

#513DBA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 46.0% C 0.187 H 283.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#513DBA
RGBrgb(81, 61, 186)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 67%, 73%)
CMYKcmyk(56.5%, 67.2%, 0%, 27.1%)
CIE-LABlab(35.26, 42.60, -63.17)
CIE-LCHlch(35.26, 76.19, 304.00°)
OKLaboklab(46.02% 0.0438 -0.1817)
OKLCHoklch(46.02% 0.187 283.6)
XYZxyz(13.9223, 8.6311, 47.3772)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DBA #A6BA3D
analogous
#3D67BA #513DBA #8F3DBA
triadic
#513DBA #BA513D #3DBA51
tetradic
#513DBA #BA3D67 #A6BA3D #3DBA8F
square
#513DBA #BA3D67 #A6BA3D #3DBA8F
split-complementary
#513DBA #BA8F3D #67BA3D
monochromatic
#291F5E #3D2E8C #513DBA #7767CD #A195DC

Accessibility & contrast

On white

7.70
#513DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#513DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DBA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DBA#FFFFFF#000000##FFFFFF
##513DBA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#1C5D76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513dba;
/* rgb */ color: rgb(81, 61, 186);
/* oklch */ color: oklch(46.0% 0.187 283.6);
Tailwind
colors: {
  custom: {
    50: '#8c74d0',
    500: '#513dba',
    950: '#000000',
  },
}
SCSS
$custom: #513dba;
$custom-light: #8c74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#513dba",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 249.6,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.18688,
    "h": 283.6
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#513DBA
secondary
#BEC88B
accent
#DA4EC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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