#513BE2#513BE2

#513BE2 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.4% C 0.237 H 279.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#513BE2
RGBrgb(81, 59, 226)
HSLhsl(248, 74%, 56%)
HSVhsv(248, 74%, 89%)
CMYKcmyk(64.2%, 73.9%, 0%, 11.4%)
CIE-LABlab(38.49, 55.82, -81.06)
CIE-LCHlch(38.49, 98.42, 304.56°)
OKLaboklab(49.42% 0.0379 -0.234)
OKLCHoklch(49.42% 0.237 279.2)
XYZxyz(18.6804, 10.3667, 72.9533)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BE2 #CCE23B
analogous
#3B78E2 #513BE2 #A43BE2
triadic
#513BE2 #E2513B #3BE251
tetradic
#513BE2 #E23B78 #CCE23B #3BE2A4
square
#513BE2 #E23B78 #CCE23B #3BE2A4
split-complementary
#513BE2 #E2A43B #78E23B
monochromatic
#25158E #331DC3 #513BE2 #8070EA #B0A6F2

Accessibility & contrast

On white

6.83
#513BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#513BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513BE2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BE2#FFFFFF#000000##FFFFFF
##513BE21.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#006B8C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #513be2;
/* rgb */ color: rgb(81, 59, 226);
/* oklch */ color: oklch(49.4% 0.237 279.2);
Tailwind
colors: {
  custom: {
    50: '#9374ec',
    500: '#513be2',
    950: '#000000',
  },
}
SCSS
$custom: #513be2;
$custom-light: #9374ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513be2",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 226
  },
  "hsl": {
    "h": 247.904,
    "s": 74.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49418,
    "c": 0.23705,
    "h": 279.2
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#513BE2
secondary
#D6DF9A
accent
#F137D8
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #513BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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