#5757AE#5757AE

#5757AE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.135 H 280.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5757AE
RGBrgb(87, 87, 174)
HSLhsl(240, 35%, 51%)
HSVhsv(240, 50%, 68%)
CMYKcmyk(50%, 50%, 0%, 31.8%)
CIE-LABlab(41.05, 24.14, -46.69)
CIE-LCHlch(41.05, 52.56, 297.34°)
OKLaboklab(50.13% 0.0243 -0.1329)
OKLCHoklch(50.13% 0.135 280.4)
XYZxyz(14.9763, 11.8978, 41.5436)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757AE #AEAE57
analogous
#5782AE #5757AE #8257AE
triadic
#5757AE #AE5757 #57AE57
tetradic
#5757AE #AE5782 #AEAE57 #57AE82
square
#5757AE #AE5782 #AEAE57 #57AE82
split-complementary
#5757AE #AE8257 #82AE57
monochromatic
#2D2D5E #414187 #5757AE #8080C2 #AAAAD6

Accessibility & contrast

On white

6.21
#5757AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5757AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757AE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757AE#FFFFFF#000000##FFFFFF
##5757AE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#275EAC
Tritanopia (blue-blind)
#366A7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5757ae;
/* rgb */ color: rgb(87, 87, 174);
/* oklch */ color: oklch(50.1% 0.135 280.4);
Tailwind
colors: {
  custom: {
    50: '#8c86c7',
    500: '#5757ae',
    950: '#000000',
  },
}
SCSS
$custom: #5757ae;
$custom-light: #8c86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5757ae",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50134,
    "c": 0.13514,
    "h": 280.4
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#5757AE
secondary
#C4C49D
accent
#CB5DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5757AE

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

Preview Lab → · Contrast checker → · Palette generator →

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