#57519C#57519C

#57519C is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.8% C 0.118 H 284.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#57519C
RGBrgb(87, 81, 156)
HSLhsl(245, 32%, 46%)
HSVhsv(245, 48%, 61%)
CMYKcmyk(44.2%, 48.1%, 0%, 38.8%)
CIE-LABlab(38.39, 22.31, -40.23)
CIE-LCHlch(38.39, 46.00, 299.01°)
OKLaboklab(47.78% 0.0298 -0.114)
OKLCHoklch(47.78% 0.118 284.6)
XYZxyz(12.8719, 10.3109, 32.7580)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57519C #969C51
analogous
#51719C #57519C #7D519C
triadic
#57519C #9C5751 #519C57
tetradic
#57519C #9C5171 #969C51 #519C7D
square
#57519C #9C5171 #969C51 #519C7D
split-complementary
#57519C #9C7D51 #719C51
monochromatic
#2A274B #413C74 #57519C #7974B7 #A09CCC

Accessibility & contrast

On white

6.86
#57519C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#57519C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #57519C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57519C#FFFFFF#000000##FFFFFF
##57519C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335D9F
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#42606F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #57519c;
/* rgb */ color: rgb(87, 81, 156);
/* oklch */ color: oklch(47.8% 0.118 284.6);
Tailwind
colors: {
  custom: {
    50: '#8a82ba',
    500: '#57519c',
    950: '#000000',
  },
}
SCSS
$custom: #57519c;
$custom-light: #8a82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57519c",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 244.8,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.11784,
    "h": 284.6
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#57519C
secondary
#B5B890
accent
#C860C0
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #57519C

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

Preview Lab → · Contrast checker → · Palette generator →

#57519C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva