#513BF2#513BF2

#513BF2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 51.0% C 0.255 H 277.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#513BF2
RGBrgb(81, 59, 242)
HSLhsl(247, 88%, 59%)
HSVhsv(247, 76%, 95%)
CMYKcmyk(66.5%, 75.6%, 0%, 5.1%)
CIE-LABlab(40.06, 60.54, -87.55)
CIE-LCHlch(40.06, 106.44, 304.66°)
OKLaboklab(50.99% 0.0342 -0.2529)
OKLCHoklch(50.99% 0.255 277.7)
XYZxyz(20.9791, 11.2862, 85.0601)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BF2 #DCF23B
analogous
#3B81F2 #513BF2 #AD3BF2
triadic
#513BF2 #F2513B #3BF251
tetradic
#513BF2 #F23B81 #DCF23B #3BF2AD
square
#513BF2 #F23B81 #DCF23B #3BF2AD
split-complementary
#513BF2 #F2AD3B #81F23B
monochromatic
#1E0BA7 #280FE1 #513BF2 #8474F6 #B7AEFA

Accessibility & contrast

On white

6.45
#513BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#513BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513BF2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BF2#FFFFFF#000000##FFFFFF
##513BF21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F7
Deuteranopia (green-blind)
#0057EF
Tritanopia (blue-blind)
#007195
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #513bf2;
/* rgb */ color: rgb(81, 59, 242);
/* oklch */ color: oklch(51.0% 0.255 277.7);
Tailwind
colors: {
  custom: {
    50: '#9675f8',
    500: '#513bf2',
    950: '#000000',
  },
}
SCSS
$custom: #513bf2;
$custom-light: #9675f8;
$custom-dark: #000000;
JSON
{
  "hex": "#513bf2",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 242
  },
  "hsl": {
    "h": 247.213,
    "s": 87.56,
    "l": 59.02
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.25523,
    "h": 277.7
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#513BF2
secondary
#E0E8A0
accent
#FE2AE4
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #513BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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