#513ED4#513ED4

#513ED4 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.5% C 0.218 H 280.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#513ED4
RGBrgb(81, 62, 212)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 83%)
CMYKcmyk(61.8%, 70.8%, 0%, 16.9%)
CIE-LABlab(37.75, 50.02, -74.25)
CIE-LCHlch(37.75, 89.53, 303.97°)
OKLaboklab(48.49% 0.0388 -0.2142)
OKLCHoklch(48.49% 0.218 280.3)
XYZxyz(16.9959, 9.9468, 63.2989)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED4 #C1D43E
analogous
#3E76D4 #513ED4 #9C3ED4
triadic
#513ED4 #D4513E #3ED451
tetradic
#513ED4 #D43E76 #C1D43E #3ED49C
square
#513ED4 #D43E76 #C1D43E #3ED49C
split-complementary
#513ED4 #D49C3E #76D43E
monochromatic
#281C7C #3827AE #513ED4 #7E70DF #ABA2EA

Accessibility & contrast

On white

7.02
#513ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#513ED4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ED4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED4#FFFFFF#000000##FFFFFF
##513ED41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513ed4;
/* rgb */ color: rgb(81, 62, 212);
/* oklch */ color: oklch(48.5% 0.218 280.3);
Tailwind
colors: {
  custom: {
    50: '#9175e2',
    500: '#513ed4',
    950: '#000000',
  },
}
SCSS
$custom: #513ed4;
$custom-light: #9175e2;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed4",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 247.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.21764,
    "h": 280.3
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#513ED4
secondary
#CFD797
accent
#E741D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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