#513ACB#513ACB

#513ACB is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.1% C 0.211 H 281.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#513ACB
RGBrgb(81, 58, 203)
HSLhsl(250, 58%, 51%)
HSVhsv(250, 71%, 80%)
CMYKcmyk(60.1%, 71.4%, 0%, 20.4%)
CIE-LABlab(36.15, 49.46, -71.67)
CIE-LCHlch(36.15, 87.07, 304.61°)
OKLaboklab(47.11% 0.0434 -0.2066)
OKLCHoklch(47.11% 0.211 281.9)
XYZxyz(15.6825, 9.0861, 57.4157)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ACB #B4CB3A
analogous
#3A6BCB #513ACB #993ACB
triadic
#513ACB #CB513A #3ACB51
tetradic
#513ACB #CB3A6B #B4CB3A #3ACB99
square
#513ACB #CB3A6B #B4CB3A #3ACB99
split-complementary
#513ACB #CB993A #6BCB3A
monochromatic
#2A1D6E #3C2A9E #513ACB #7C6AD8 #A79BE5

Accessibility & contrast

On white

7.45
#513ACB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#513ACB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ACB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ACB#FFFFFF#000000##FFFFFF
##513ACB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513acb;
/* rgb */ color: rgb(81, 58, 203);
/* oklch */ color: oklch(47.1% 0.211 281.9);
Tailwind
colors: {
  custom: {
    50: '#8f73dc',
    500: '#513acb',
    950: '#000000',
  },
}
SCSS
$custom: #513acb;
$custom-light: #8f73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#513acb",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 249.517,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47107,
    "c": 0.21107,
    "h": 281.9
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#513ACB
secondary
#C6D090
accent
#E146C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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