#5757A2#5757A2

#5757A2 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.4% C 0.118 H 281.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5757A2
RGBrgb(87, 87, 162)
HSLhsl(240, 30%, 49%)
HSVhsv(240, 46%, 64%)
CMYKcmyk(46.3%, 46.3%, 0%, 36.5%)
CIE-LABlab(40.33, 20.37, -40.73)
CIE-LCHlch(40.33, 45.54, 296.56°)
OKLaboklab(49.35% 0.0229 -0.1155)
OKLCHoklch(49.35% 0.118 281.2)
XYZxyz(13.8583, 11.4506, 35.6554)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757A2 #A2A257
analogous
#577DA2 #5757A2 #7D57A2
triadic
#5757A2 #A25757 #57A257
tetradic
#5757A2 #A2577D #A2A257 #57A27D
square
#5757A2 #A2577D #A2A257 #57A27D
split-complementary
#5757A2 #A27D57 #7DA257
monochromatic
#2C2C52 #42427A #5757A2 #7D7DB9 #A5A5CF

Accessibility & contrast

On white

6.38
#5757A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5757A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757A2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757A2#FFFFFF#000000##FFFFFF
##5757A21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#3E6774
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5757a2;
/* rgb */ color: rgb(87, 87, 162);
/* oklch */ color: oklch(49.4% 0.118 281.2);
Tailwind
colors: {
  custom: {
    50: '#8b86be',
    500: '#5757a2',
    950: '#000000',
  },
}
SCSS
$custom: #5757a2;
$custom-light: #8b86be;
$custom-dark: #000000;
JSON
{
  "hex": "#5757a2",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 30.12,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49353,
    "c": 0.1177,
    "h": 281.2
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#5757A2
secondary
#BCBC99
accent
#C661C6
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5757A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5757A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva