#513FE2#513FE2

#513FE2 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.9% C 0.233 H 278.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#513FE2
RGBrgb(81, 63, 226)
HSLhsl(247, 74%, 57%)
HSVhsv(247, 72%, 89%)
CMYKcmyk(64.2%, 72.1%, 0%, 11.4%)
CIE-LABlab(39.23, 53.74, -79.84)
CIE-LCHlch(39.23, 96.24, 303.95°)
OKLaboklab(49.94% 0.0354 -0.2305)
OKLCHoklch(49.94% 0.233 278.7)
XYZxyz(18.8939, 10.7938, 73.0245)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FE2 #D0E23F
analogous
#3F7FE2 #513FE2 #A33FE2
triadic
#513FE2 #E2513F #3FE251
tetradic
#513FE2 #E23F7F #D0E23F #3FE2A3
square
#513FE2 #E23F7F #D0E23F #3FE2A3
split-complementary
#513FE2 #E2A33F #7FE23F
monochromatic
#231691 #301EC6 #513FE2 #8174EA #B1A9F2

Accessibility & contrast

On white

6.65
#513FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#513FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FE2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FE2#FFFFFF#000000##FFFFFF
##513FE21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#006D8D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #513fe2;
/* rgb */ color: rgb(81, 63, 226);
/* oklch */ color: oklch(49.9% 0.233 278.7);
Tailwind
colors: {
  custom: {
    50: '#9377ec',
    500: '#513fe2',
    950: '#000000',
  },
}
SCSS
$custom: #513fe2;
$custom-light: #9377ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513fe2",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 246.626,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.2332,
    "h": 278.7
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#513FE2
secondary
#D8E09D
accent
#F037DC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #513FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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