#513FD4#513FD4

#513FD4 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.217 H 280.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#513FD4
RGBrgb(81, 63, 212)
HSLhsl(247, 63%, 54%)
HSVhsv(247, 70%, 83%)
CMYKcmyk(61.8%, 70.3%, 0%, 16.9%)
CIE-LABlab(37.94, 49.48, -73.93)
CIE-LCHlch(37.94, 88.96, 303.79°)
OKLaboklab(48.63% 0.038 -0.2132)
OKLCHoklch(48.63% 0.217 280.1)
XYZxyz(17.0507, 10.0565, 63.3172)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FD4 #C2D43F
analogous
#3F78D4 #513FD4 #9C3FD4
triadic
#513FD4 #D4513F #3FD451
tetradic
#513FD4 #D43F78 #C2D43F #3FD49C
square
#513FD4 #D43F78 #C2D43F #3FD49C
split-complementary
#513FD4 #D49C3F #78D43F
monochromatic
#281C7D #3727AF #513FD4 #7E71DF #ACA3EA

Accessibility & contrast

On white

6.97
#513FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#513FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FD4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FD4#FFFFFF#000000##FFFFFF
##513FD41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD8
Deuteranopia (green-blind)
#0054D1
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513fd4;
/* rgb */ color: rgb(81, 63, 212);
/* oklch */ color: oklch(48.6% 0.217 280.1);
Tailwind
colors: {
  custom: {
    50: '#9176e2',
    500: '#513fd4',
    950: '#000000',
  },
}
SCSS
$custom: #513fd4;
$custom-light: #9176e2;
$custom-dark: #000000;
JSON
{
  "hex": "#513fd4",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 247.248,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.21658,
    "h": 280.1
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#513FD4
secondary
#D0D798
accent
#E641D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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