#5C57F0#5C57F0

#5C57F0 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.5% C 0.222 H 277.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5C57F0
RGBrgb(92, 87, 240)
HSLhsl(242, 84%, 64%)
HSVhsv(242, 64%, 94%)
CMYKcmyk(61.7%, 63.7%, 0%, 5.9%)
CIE-LABlab(46.15, 46.12, -76.38)
CIE-LCHlch(46.15, 89.23, 301.13°)
OKLaboklab(55.49% 0.03 -0.2201)
OKLCHoklch(55.49% 0.222 277.8)
XYZxyz(23.5449, 15.3811, 84.1493)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57F0 #EBF057
analogous
#579FF0 #5C57F0 #A957F0
triadic
#5C57F0 #F05C57 #57F05C
tetradic
#5C57F0 #F0579F #EBF057 #57F0A9
square
#5C57F0 #F0579F #EBF057 #57F0A9
split-complementary
#5C57F0 #F0A957 #9FF057
monochromatic
#1611BC #251FEB #5C57F0 #938FF5 #C9C7FA

Accessibility & contrast

On white

5.15
#5C57F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5C57F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57F0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57F0#FFFFFF#000000##FFFFFF
##5C57F01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c57f0;
/* rgb */ color: rgb(92, 87, 240);
/* oklch */ color: oklch(55.5% 0.222 277.8);
Tailwind
colors: {
  custom: {
    50: '#9987f6',
    500: '#5c57f0',
    950: '#000000',
  },
}
SCSS
$custom: #5c57f0;
$custom-light: #9987f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57f0",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 241.961,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.22211,
    "h": 277.8
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#5C57F0
secondary
#EAECB7
accent
#E005D9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C57F0

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

Preview Lab → · Contrast checker → · Palette generator →

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