#513DD4#513DD4

#513DD4 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.4% C 0.219 H 280.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#513DD4
RGBrgb(81, 61, 212)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 83%)
CMYKcmyk(61.8%, 71.2%, 0%, 16.9%)
CIE-LABlab(37.55, 50.56, -74.57)
CIE-LCHlch(37.55, 90.10, 304.14°)
OKLaboklab(48.36% 0.0395 -0.2151)
OKLCHoklch(48.36% 0.219 280.4)
XYZxyz(16.9420, 9.8390, 63.2809)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DD4 #C0D43D
analogous
#3D74D4 #513DD4 #9C3DD4
triadic
#513DD4 #D4513D #3DD451
tetradic
#513DD4 #D43D74 #C0D43D #3DD49C
square
#513DD4 #D43D74 #C0D43D #3DD49C
split-complementary
#513DD4 #D49C3D #74D43D
monochromatic
#281B7B #3826AD #513DD4 #7E6FDF #ABA1EA

Accessibility & contrast

On white

7.08
#513DD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#513DD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DD4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DD4#FFFFFF#000000##FFFFFF
##513DD41.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513dd4;
/* rgb */ color: rgb(81, 61, 212);
/* oklch */ color: oklch(48.4% 0.219 280.4);
Tailwind
colors: {
  custom: {
    50: '#9175e2',
    500: '#513dd4',
    950: '#000000',
  },
}
SCSS
$custom: #513dd4;
$custom-light: #9175e2;
$custom-dark: #000000;
JSON
{
  "hex": "#513dd4",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 247.947,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48355,
    "c": 0.21868,
    "h": 280.4
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#513DD4
secondary
#CED796
accent
#E741D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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