#513BD9#513BD9

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

Color values

HEX#513BD9
RGBrgb(81, 59, 217)
HSLhsl(248, 68%, 54%)
HSVhsv(248, 73%, 85%)
CMYKcmyk(62.7%, 72.8%, 0%, 14.9%)
CIE-LABlab(37.64, 53.14, -77.31)
CIE-LCHlch(37.64, 93.81, 304.50°)
OKLaboklab(48.56% 0.0398 -0.2231)
OKLCHoklch(48.56% 0.227 280.1)
XYZxyz(17.4777, 9.8857, 66.6193)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BD9 #C3D93B
analogous
#3B74D9 #513BD9 #A03BD9
triadic
#513BD9 #D9513B #3BD951
tetradic
#513BD9 #D93B74 #C3D93B #3BD9A0
square
#513BD9 #D93B74 #C3D93B #3BD9A0
split-complementary
#513BD9 #D9A03B #74D93B
monochromatic
#271981 #3723B4 #513BD9 #7F6EE3 #ACA2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##513BD9#FFFFFF#000000##FFFFFF
##513BD91.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)
#005EDE
Deuteranopia (green-blind)
#0052D6
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513bd9;
/* rgb */ color: rgb(81, 59, 217);
/* oklch */ color: oklch(48.6% 0.227 280.1);
Tailwind
colors: {
  custom: {
    50: '#9274e6',
    500: '#513bd9',
    950: '#000000',
  },
}
SCSS
$custom: #513bd9;
$custom-light: #9274e6;
$custom-dark: #000000;
JSON
{
  "hex": "#513bd9",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 248.354,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48555,
    "c": 0.2266,
    "h": 280.1
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#513BD9
secondary
#D0DA96
accent
#EA3DD2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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