#513DCB#513DCB

#513DCB is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.208 H 281.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#513DCB
RGBrgb(81, 61, 203)
HSLhsl(248, 58%, 52%)
HSVhsv(248, 70%, 80%)
CMYKcmyk(60.1%, 70%, 0%, 20.4%)
CIE-LABlab(36.74, 47.82, -70.70)
CIE-LCHlch(36.74, 85.35, 304.07°)
OKLaboklab(47.53% 0.0411 -0.2037)
OKLCHoklch(47.53% 0.208 281.4)
XYZxyz(15.8382, 9.3975, 57.4676)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DCB #B7CB3D
analogous
#3D70CB #513DCB #983DCB
triadic
#513DCB #CB513D #3DCB51
tetradic
#513DCB #CB3D70 #B7CB3D #3DCB98
square
#513DCB #CB3D70 #B7CB3D #3DCB98
split-complementary
#513DCB #CB983D #70CB3D
monochromatic
#291E70 #3B2BA0 #513DCB #7C6DD8 #A89EE5

Accessibility & contrast

On white

7.29
#513DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#513DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DCB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DCB#FFFFFF#000000##FFFFFF
##513DCB1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513dcb;
/* rgb */ color: rgb(81, 61, 203);
/* oklch */ color: oklch(47.5% 0.208 281.4);
Tailwind
colors: {
  custom: {
    50: '#8f75dc',
    500: '#513dcb',
    950: '#000000',
  },
}
SCSS
$custom: #513dcb;
$custom-light: #8f75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#513dcb",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 248.451,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47527,
    "c": 0.20786,
    "h": 281.4
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#513DCB
secondary
#C8D193
accent
#E147CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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