#513BD4#513BD4

#513BD4 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.1% C 0.221 H 280.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#513BD4
RGBrgb(81, 59, 212)
HSLhsl(249, 64%, 53%)
HSVhsv(249, 72%, 83%)
CMYKcmyk(61.8%, 72.2%, 0%, 16.9%)
CIE-LABlab(37.17, 51.63, -75.20)
CIE-LCHlch(37.17, 91.22, 304.47°)
OKLaboklab(48.08% 0.0408 -0.2169)
OKLCHoklch(48.08% 0.221 280.7)
XYZxyz(16.8372, 9.6295, 63.2460)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BD4 #BED43B
analogous
#3B72D4 #513BD4 #9D3BD4
triadic
#513BD4 #D4513B #3BD451
tetradic
#513BD4 #D43B72 #BED43B #3BD49D
square
#513BD4 #D43B72 #BED43B #3BD49D
split-complementary
#513BD4 #D49D3B #72D43B
monochromatic
#281B7A #3926AC #513BD4 #7E6DDF #AA9FEA

Accessibility & contrast

On white

7.18
#513BD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#513BD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BD4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BD4#FFFFFF#000000##FFFFFF
##513BD41.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD8
Deuteranopia (green-blind)
#0052D1
Tritanopia (blue-blind)
#006584
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513bd4;
/* rgb */ color: rgb(81, 59, 212);
/* oklch */ color: oklch(48.1% 0.221 280.7);
Tailwind
colors: {
  custom: {
    50: '#9174e2',
    500: '#513bd4',
    950: '#000000',
  },
}
SCSS
$custom: #513bd4;
$custom-light: #9174e2;
$custom-dark: #000000;
JSON
{
  "hex": "#513bd4",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 248.627,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.22073,
    "h": 280.7
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#513BD4
secondary
#CDD694
accent
#E741CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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