#513DD6#513DD6

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

Color values

HEX#513DD6
RGBrgb(81, 61, 214)
HSLhsl(248, 65%, 54%)
HSVhsv(248, 71%, 84%)
CMYKcmyk(62.1%, 71.5%, 0%, 16.1%)
CIE-LABlab(37.74, 51.17, -75.42)
CIE-LCHlch(37.74, 91.14, 304.15°)
OKLaboklab(48.54% 0.0391 -0.2176)
OKLCHoklch(48.54% 0.221 280.2)
XYZxyz(17.1958, 9.9406, 64.6178)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DD6 #C2D63D
analogous
#3D76D6 #513DD6 #9E3DD6
triadic
#513DD6 #D6513D #3DD651
tetradic
#513DD6 #D63D76 #C2D63D #3DD69E
square
#513DD6 #D63D76 #C2D63D #3DD69E
split-complementary
#513DD6 #D69E3D #76D63D
monochromatic
#281B7E #3725B1 #513DD6 #7E70E1 #ACA2EB

Accessibility & contrast

On white

7.03
#513DD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513DD6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DD6#FFFFFF#000000##FFFFFF
##513DD61.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDB
Deuteranopia (green-blind)
#0053D3
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513dd6;
/* rgb */ color: rgb(81, 61, 214);
/* oklch */ color: oklch(48.5% 0.221 280.2);
Tailwind
colors: {
  custom: {
    50: '#9175e4',
    500: '#513dd6',
    950: '#000000',
  },
}
SCSS
$custom: #513dd6;
$custom-light: #9175e4;
$custom-dark: #000000;
JSON
{
  "hex": "#513dd6",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 247.843,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48541,
    "c": 0.22106,
    "h": 280.2
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#513DD6
secondary
#D0D897
accent
#E840D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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