#5C57E5#5C57E5

#5C57E5 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.208 H 278.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5C57E5
RGBrgb(92, 87, 229)
HSLhsl(242, 73%, 62%)
HSVhsv(242, 62%, 90%)
CMYKcmyk(59.8%, 62%, 0%, 10.2%)
CIE-LABlab(45.29, 42.65, -71.59)
CIE-LCHlch(45.29, 83.33, 300.78°)
OKLaboklab(54.59% 0.0309 -0.206)
OKLCHoklch(54.59% 0.208 278.5)
XYZxyz(21.9602, 14.7472, 75.8028)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57E5 #E0E557
analogous
#5799E5 #5C57E5 #A357E5
triadic
#5C57E5 #E55C57 #57E55C
tetradic
#5C57E5 #E55799 #E0E557 #57E5A3
square
#5C57E5 #E55799 #E0E557 #57E5A3
split-complementary
#5C57E5 #E5A357 #99E557
monochromatic
#1F1AA8 #2922DD #5C57E5 #8F8CED #C3C1F5

Accessibility & contrast

On white

5.32
#5C57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5C57E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57E5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57E5#FFFFFF#000000##FFFFFF
##5C57E51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c57e5;
/* rgb */ color: rgb(92, 87, 229);
/* oklch */ color: oklch(54.6% 0.208 278.5);
Tailwind
colors: {
  custom: {
    50: '#9787ee',
    500: '#5c57e5',
    950: '#000000',
  },
}
SCSS
$custom: #5c57e5;
$custom-light: #9787ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57e5",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 242.113,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54591,
    "c": 0.20832,
    "h": 278.5
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#5C57E5
secondary
#E4E6B2
accent
#D510CE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5C57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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