#5C57E7#5C57E7

#5C57E7 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.211 H 278.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C57E7
RGBrgb(92, 87, 231)
HSLhsl(242, 75%, 62%)
HSVhsv(242, 62%, 91%)
CMYKcmyk(60.2%, 62.3%, 0%, 9.4%)
CIE-LABlab(45.44, 43.28, -72.47)
CIE-LCHlch(45.44, 84.41, 300.85°)
OKLaboklab(54.75% 0.0307 -0.2086)
OKLCHoklch(54.75% 0.211 278.4)
XYZxyz(22.2410, 14.8595, 77.2820)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57E7 #E2E757
analogous
#579AE7 #5C57E7 #A457E7
triadic
#5C57E7 #E75C57 #57E75C
tetradic
#5C57E7 #E7579A #E2E757 #57E7A4
square
#5C57E7 #E7579A #E2E757 #57E7A4
split-complementary
#5C57E7 #E7A457 #9AE757
monochromatic
#1E18AB #2821DF #5C57E7 #908DEF #C4C2F6

Accessibility & contrast

On white

5.29
#5C57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5C57E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57E7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57E7#FFFFFF#000000##FFFFFF
##5C57E71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c57e7;
/* rgb */ color: rgb(92, 87, 231);
/* oklch */ color: oklch(54.8% 0.211 278.4);
Tailwind
colors: {
  custom: {
    50: '#9887f0',
    500: '#5c57e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c57e7;
$custom-light: #9887f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57e7",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 242.083,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54753,
    "c": 0.21085,
    "h": 278.4
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#5C57E7
secondary
#E5E7B3
accent
#D70ED0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C57E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5C57E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva