#513DD5#513DD5

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

Color values

HEX#513DD5
RGBrgb(81, 61, 213)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 84%)
CMYKcmyk(62%, 71.4%, 0%, 16.5%)
CIE-LABlab(37.64, 50.87, -75.00)
CIE-LCHlch(37.64, 90.62, 304.15°)
OKLaboklab(48.45% 0.0393 -0.2163)
OKLCHoklch(48.45% 0.22 280.3)
XYZxyz(17.0685, 9.8896, 63.9473)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DD5 #C1D53D
analogous
#3D75D5 #513DD5 #9D3DD5
triadic
#513DD5 #D5513D #3DD551
tetradic
#513DD5 #D53D75 #C1D53D #3DD59D
square
#513DD5 #D53D75 #C1D53D #3DD59D
split-complementary
#513DD5 #D59D3D #75D53D
monochromatic
#281B7D #3826AF #513DD5 #7E6FE0 #ABA2EB

Accessibility & contrast

On white

7.05
#513DD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#513DD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DD5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DD5#FFFFFF#000000##FFFFFF
##513DD51.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513dd5;
/* rgb */ color: rgb(81, 61, 213);
/* oklch */ color: oklch(48.4% 0.220 280.3);
Tailwind
colors: {
  custom: {
    50: '#9175e3',
    500: '#513dd5',
    950: '#000000',
  },
}
SCSS
$custom: #513dd5;
$custom-light: #9175e3;
$custom-dark: #000000;
JSON
{
  "hex": "#513dd5",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 247.895,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.21986,
    "h": 280.3
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#513DD5
secondary
#CFD796
accent
#E740D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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