#513DC9#513DC9

#513DC9 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.3% C 0.205 H 281.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#513DC9
RGBrgb(81, 61, 201)
HSLhsl(249, 56%, 51%)
HSVhsv(249, 70%, 79%)
CMYKcmyk(59.7%, 69.7%, 0%, 21.2%)
CIE-LABlab(36.56, 47.21, -69.83)
CIE-LCHlch(36.56, 84.29, 304.06°)
OKLaboklab(47.35% 0.0415 -0.2012)
OKLCHoklch(47.35% 0.205 281.6)
XYZxyz(15.6014, 9.3028, 56.2205)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DC9 #B5C93D
analogous
#3D6FC9 #513DC9 #973DC9
triadic
#513DC9 #C9513D #3DC951
tetradic
#513DC9 #C93D6F #B5C93D #3DC997
square
#513DC9 #C93D6F #B5C93D #3DC997
split-complementary
#513DC9 #C9973D #6FC93D
monochromatic
#2A1E6D #3C2C9D #513DC9 #7C6DD6 #A79DE4

Accessibility & contrast

On white

7.34
#513DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#513DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DC9
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DC9#FFFFFF#000000##FFFFFF
##513DC91.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513dc9;
/* rgb */ color: rgb(81, 61, 201);
/* oklch */ color: oklch(47.3% 0.205 281.6);
Tailwind
colors: {
  custom: {
    50: '#8f74db',
    500: '#513dc9',
    950: '#000000',
  },
}
SCSS
$custom: #513dc9;
$custom-light: #8f74db;
$custom-dark: #000000;
JSON
{
  "hex": "#513dc9",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 248.571,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.20543,
    "h": 281.6
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#513DC9
secondary
#C7D092
accent
#E048CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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