#575797#575797

#575797 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.7% C 0.101 H 282.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#575797
RGBrgb(87, 87, 151)
HSLhsl(240, 27%, 47%)
HSVhsv(240, 42%, 59%)
CMYKcmyk(42.4%, 42.4%, 0%, 40.8%)
CIE-LABlab(39.71, 16.98, -35.14)
CIE-LCHlch(39.71, 39.03, 295.79°)
OKLaboklab(48.68% 0.021 -0.0991)
OKLCHoklch(48.68% 0.101 282)
XYZxyz(12.9230, 11.0765, 30.7292)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575797 #979757
analogous
#577797 #575797 #775797
triadic
#575797 #975757 #579757
tetradic
#575797 #975777 #979757 #579777
square
#575797 #975777 #979757 #579777
split-complementary
#575797 #977757 #779757
monochromatic
#2A2A49 #414170 #575797 #7979B2 #A0A0C8

Accessibility & contrast

On white

6.53
#575797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#575797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #575797
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575797#FFFFFF#000000##FFFFFF
##5757971.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#3D5B96
Tritanopia (blue-blind)
#44646F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #575797;
/* rgb */ color: rgb(87, 87, 151);
/* oklch */ color: oklch(48.7% 0.101 282.0);
Tailwind
colors: {
  custom: {
    50: '#8986b6',
    500: '#575797',
    950: '#000000',
  },
}
SCSS
$custom: #575797;
$custom-light: #8986b6;
$custom-dark: #000000;
JSON
{
  "hex": "#575797",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.10129,
    "h": 282
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#575797
secondary
#B6B694
accent
#C365C3
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #575797

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

Preview Lab → · Contrast checker → · Palette generator →

#575797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva