#513FE1#513FE1

#513FE1 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.8% C 0.232 H 278.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#513FE1
RGBrgb(81, 63, 225)
HSLhsl(247, 73%, 56%)
HSVhsv(247, 72%, 88%)
CMYKcmyk(64%, 72%, 0%, 11.8%)
CIE-LABlab(39.14, 53.44, -79.42)
CIE-LCHlch(39.14, 95.73, 303.94°)
OKLaboklab(49.85% 0.0356 -0.2293)
OKLCHoklch(49.85% 0.232 278.8)
XYZxyz(18.7571, 10.7391, 72.3040)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FE1 #CFE13F
analogous
#3F7EE1 #513FE1 #A23FE1
triadic
#513FE1 #E1513F #3FE151
tetradic
#513FE1 #E13F7E #CFE13F #3FE1A2
square
#513FE1 #E13F7E #CFE13F #3FE1A2
split-complementary
#513FE1 #E1A23F #7EE13F
monochromatic
#24168F #311FC4 #513FE1 #8174E9 #B1A9F2

Accessibility & contrast

On white

6.67
#513FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#513FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FE1
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FE1#FFFFFF#000000##FFFFFF
##513FE11.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E6
Deuteranopia (green-blind)
#0056DE
Tritanopia (blue-blind)
#006C8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #513fe1;
/* rgb */ color: rgb(81, 63, 225);
/* oklch */ color: oklch(49.8% 0.232 278.8);
Tailwind
colors: {
  custom: {
    50: '#9377ec',
    500: '#513fe1',
    950: '#000000',
  },
}
SCSS
$custom: #513fe1;
$custom-light: #9377ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513fe1",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 225
  },
  "hsl": {
    "h": 246.667,
    "s": 72.973,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49846,
    "c": 0.23202,
    "h": 278.8
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#513FE1
secondary
#D8DF9D
accent
#F038DB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #513FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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