#575798#575798

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

Color values

HEX#575798
RGBrgb(87, 87, 152)
HSLhsl(240, 27%, 47%)
HSVhsv(240, 43%, 60%)
CMYKcmyk(42.8%, 42.8%, 0%, 40.4%)
CIE-LABlab(39.76, 17.28, -35.65)
CIE-LCHlch(39.76, 39.62, 295.86°)
OKLaboklab(48.74% 0.0212 -0.1006)
OKLCHoklch(48.74% 0.103 281.9)
XYZxyz(13.0045, 11.1091, 31.1587)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575798 #989857
analogous
#577898 #575798 #785798
triadic
#575798 #985757 #579857
tetradic
#575798 #985778 #989857 #579878
square
#575798 #985778 #989857 #579878
split-complementary
#575798 #987857 #789857
monochromatic
#2A2A4A #414171 #575798 #7A7AB3 #A0A0C9

Accessibility & contrast

On white

6.52
#575798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #575798
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575798#FFFFFF#000000##FFFFFF
##5757981.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609A
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#436470
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #575798;
/* rgb */ color: rgb(87, 87, 152);
/* oklch */ color: oklch(48.7% 0.103 281.9);
Tailwind
colors: {
  custom: {
    50: '#8a86b6',
    500: '#575798',
    950: '#000000',
  },
}
SCSS
$custom: #575798;
$custom-light: #8a86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#575798",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 240,
    "s": 27.197,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4874,
    "c": 0.1028,
    "h": 281.9
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #575798

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

Preview Lab → · Contrast checker → · Palette generator →

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