#513DCC#513DCC

#513DCC is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.6% C 0.209 H 281.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#513DCC
RGBrgb(81, 61, 204)
HSLhsl(248, 58%, 52%)
HSVhsv(248, 70%, 80%)
CMYKcmyk(60.3%, 70.1%, 0%, 20%)
CIE-LABlab(36.83, 48.13, -71.13)
CIE-LCHlch(36.83, 85.89, 304.08°)
OKLaboklab(47.62% 0.0409 -0.205)
OKLCHoklch(47.62% 0.209 281.3)
XYZxyz(15.9577, 9.4453, 58.0973)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DCC #B8CC3D
analogous
#3D70CC #513DCC #993DCC
triadic
#513DCC #CC513D #3DCC51
tetradic
#513DCC #CC3D70 #B8CC3D #3DCC99
square
#513DCC #CC3D70 #B8CC3D #3DCC99
split-complementary
#513DCC #CC993D #70CC3D
monochromatic
#291E71 #3B2AA1 #513DCC #7C6DD9 #A89EE5

Accessibility & contrast

On white

7.27
#513DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#513DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513DCC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DCC#FFFFFF#000000##FFFFFF
##513DCC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513dcc;
/* rgb */ color: rgb(81, 61, 204);
/* oklch */ color: oklch(47.6% 0.209 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f75dd',
    500: '#513dcc',
    950: '#000000',
  },
}
SCSS
$custom: #513dcc;
$custom-light: #8f75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#513dcc",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 248.392,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47618,
    "c": 0.20907,
    "h": 281.3
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#513DCC
secondary
#C9D293
accent
#E246CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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