#575796#575796

#575796 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.6% C 0.100 H 282.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#575796
RGBrgb(87, 87, 150)
HSLhsl(240, 27%, 46%)
HSVhsv(240, 42%, 59%)
CMYKcmyk(42%, 42%, 0%, 41.2%)
CIE-LABlab(39.65, 16.68, -34.62)
CIE-LCHlch(39.65, 38.43, 295.72°)
OKLaboklab(48.62% 0.0208 -0.0976)
OKLCHoklch(48.62% 0.1 282)
XYZxyz(12.8421, 11.0441, 30.3033)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575796 #969657
analogous
#577796 #575796 #775796
triadic
#575796 #965757 #579657
tetradic
#575796 #965777 #969657 #579677
square
#575796 #965777 #969657 #579677
split-complementary
#575796 #967757 #779657
monochromatic
#2A2A49 #41416F #575796 #7979B1 #A0A0C8

Accessibility & contrast

On white

6.54
#575796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#575796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #575796
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575796#FFFFFF#000000##FFFFFF
##5757961.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416098
Deuteranopia (green-blind)
#3E5B95
Tritanopia (blue-blind)
#44646F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #575796;
/* rgb */ color: rgb(87, 87, 150);
/* oklch */ color: oklch(48.6% 0.100 282.0);
Tailwind
colors: {
  custom: {
    50: '#8986b5',
    500: '#575796',
    950: '#000000',
  },
}
SCSS
$custom: #575796;
$custom-light: #8986b5;
$custom-dark: #000000;
JSON
{
  "hex": "#575796",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 26.582,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.09977,
    "h": 282
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #575796

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

Preview Lab → · Contrast checker → · Palette generator →

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