#513FE3#513FE3

#513FE3 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 50.0% C 0.234 H 278.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#513FE3
RGBrgb(81, 63, 227)
HSLhsl(247, 75%, 57%)
HSVhsv(247, 72%, 89%)
CMYKcmyk(64.3%, 72.2%, 0%, 11%)
CIE-LABlab(39.32, 54.05, -80.26)
CIE-LCHlch(39.32, 96.76, 303.96°)
OKLaboklab(50.04% 0.0352 -0.2317)
OKLCHoklch(50.04% 0.234 278.6)
XYZxyz(19.0315, 10.8488, 73.7493)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FE3 #D1E33F
analogous
#3F7FE3 #513FE3 #A33FE3
triadic
#513FE3 #E3513F #3FE351
tetradic
#513FE3 #E33F7F #D1E33F #3FE3A3
square
#513FE3 #E33F7F #D1E33F #3FE3A3
split-complementary
#513FE3 #E3A33F #7FE33F
monochromatic
#231592 #301DC8 #513FE3 #8174EB #B2AAF3

Accessibility & contrast

On white

6.62
#513FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#513FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FE3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FE3#FFFFFF#000000##FFFFFF
##513FE31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#0056E0
Tritanopia (blue-blind)
#006D8D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #513fe3;
/* rgb */ color: rgb(81, 63, 227);
/* oklch */ color: oklch(50.0% 0.234 278.6);
Tailwind
colors: {
  custom: {
    50: '#9377ed',
    500: '#513fe3',
    950: '#000000',
  },
}
SCSS
$custom: #513fe3;
$custom-light: #9377ed;
$custom-dark: #000000;
JSON
{
  "hex": "#513fe3",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 227
  },
  "hsl": {
    "h": 246.585,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.23436,
    "h": 278.6
  },
  "luminance": 0.1085
}

Semantic roles & 50–950 ramp

primary
#513FE3
secondary
#D9E09D
accent
#F137DD
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #513FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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