#57519E#57519E

#57519E is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.121 H 284.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#57519E
RGBrgb(87, 81, 158)
HSLhsl(245, 32%, 47%)
HSVhsv(245, 49%, 62%)
CMYKcmyk(44.9%, 48.7%, 0%, 38%)
CIE-LABlab(38.51, 22.92, -41.24)
CIE-LCHlch(38.51, 47.18, 299.07°)
OKLaboklab(47.91% 0.03 -0.117)
OKLCHoklch(47.91% 0.121 284.4)
XYZxyz(13.0427, 10.3792, 33.6573)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57519E #989E51
analogous
#51729E #57519E #7E519E
triadic
#57519E #9E5751 #519E57
tetradic
#57519E #9E5172 #989E51 #519E7E
square
#57519E #9E5172 #989E51 #519E7E
split-complementary
#57519E #9E7E51 #729E51
monochromatic
#2A284D #413C76 #57519E #7A74B8 #A09DCD

Accessibility & contrast

On white

6.83
#57519E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#57519E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #57519E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57519E#FFFFFF#000000##FFFFFF
##57519E1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#2F589C
Tritanopia (blue-blind)
#416170
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #57519e;
/* rgb */ color: rgb(87, 81, 158);
/* oklch */ color: oklch(47.9% 0.121 284.4);
Tailwind
colors: {
  custom: {
    50: '#8b82bb',
    500: '#57519e',
    950: '#000000',
  },
}
SCSS
$custom: #57519e;
$custom-light: #8b82bb;
$custom-dark: #000000;
JSON
{
  "hex": "#57519e",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 244.675,
    "s": 32.218,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.12076,
    "h": 284.4
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

primary
#57519E
secondary
#B6BA91
accent
#C85FC0
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #57519E

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

Preview Lab → · Contrast checker → · Palette generator →

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