#513DBB#513DBB

#513DBB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.1% C 0.188 H 283.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#513DBB
RGBrgb(81, 61, 187)
HSLhsl(250, 51%, 49%)
HSVhsv(250, 67%, 73%)
CMYKcmyk(56.7%, 67.4%, 0%, 26.7%)
CIE-LABlab(35.35, 42.91, -63.62)
CIE-LCHlch(35.35, 76.74, 304.00°)
OKLaboklab(46.1% 0.0437 -0.183)
OKLCHoklch(46.1% 0.188 283.4)
XYZxyz(14.0290, 8.6738, 47.9390)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DBB #A7BB3D
analogous
#3D68BB #513DBB #903DBB
triadic
#513DBB #BB513D #3DBB51
tetradic
#513DBB #BB3D68 #A7BB3D #3DBB90
square
#513DBB #BB3D68 #A7BB3D #3DBB90
split-complementary
#513DBB #BB903D #68BB3D
monochromatic
#291F5F #3D2E8D #513DBB #7868CE #A196DD

Accessibility & contrast

On white

7.68
#513DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513DBB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DBB#FFFFFF#000000##FFFFFF
##513DBB1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#1B5D77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513dbb;
/* rgb */ color: rgb(81, 61, 187);
/* oklch */ color: oklch(46.1% 0.188 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c74d0',
    500: '#513dbb',
    950: '#000000',
  },
}
SCSS
$custom: #513dbb;
$custom-light: #8c74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#513dbb",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 249.524,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.18814,
    "h": 283.4
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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