#513FC8#513FC8

#513FC8 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.202 H 281.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#513FC8
RGBrgb(81, 63, 200)
HSLhsl(248, 55%, 52%)
HSVhsv(248, 69%, 78%)
CMYKcmyk(59.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(36.88, 45.78, -68.72)
CIE-LCHlch(36.88, 82.58, 303.67°)
OKLaboklab(47.55% 0.0401 -0.198)
OKLCHoklch(47.55% 0.202 281.4)
XYZxyz(15.5929, 9.4734, 55.6393)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FC8 #B6C83F
analogous
#3F72C8 #513FC8 #963FC8
triadic
#513FC8 #C8513F #3FC851
tetradic
#513FC8 #C83F72 #B6C83F #3FC896
square
#513FC8 #C83F72 #B6C83F #3FC896
split-complementary
#513FC8 #C8963F #72C83F
monochromatic
#2A1F6D #3C2D9D #513FC8 #7C6FD6 #A79EE3

Accessibility & contrast

On white

7.25
#513FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#513FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FC8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FC8#FFFFFF#000000##FFFFFF
##513FC81.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513fc8;
/* rgb */ color: rgb(81, 63, 200);
/* oklch */ color: oklch(47.5% 0.202 281.4);
Tailwind
colors: {
  custom: {
    50: '#8f76da',
    500: '#513fc8',
    950: '#000000',
  },
}
SCSS
$custom: #513fc8;
$custom-light: #8f76da;
$custom-dark: #000000;
JSON
{
  "hex": "#513fc8",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 247.883,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.20198,
    "h": 281.4
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#513FC8
secondary
#C8D093
accent
#DF49CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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