#5C57DF#5C57DF

#5C57DF is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.201 H 278.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C57DF
RGBrgb(92, 87, 223)
HSLhsl(242, 68%, 61%)
HSVhsv(242, 61%, 87%)
CMYKcmyk(58.7%, 61%, 0%, 12.5%)
CIE-LABlab(44.83, 40.74, -68.94)
CIE-LCHlch(44.83, 80.08, 300.58°)
OKLaboklab(54.11% 0.0312 -0.1982)
OKLCHoklch(54.11% 0.201 278.9)
XYZxyz(21.1369, 14.4179, 71.4668)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57DF #DADF57
analogous
#5796DF #5C57DF #A057DF
triadic
#5C57DF #DF5C57 #57DF5C
tetradic
#5C57DF #DF5796 #DADF57 #57DFA0
square
#5C57DF #DF5796 #DADF57 #57DFA0
split-complementary
#5C57DF #DFA057 #96DF57
monochromatic
#231E9E #2E28D1 #5C57DF #8E8AE9 #C0BEF3

Accessibility & contrast

On white

5.41
#5C57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5C57DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57DF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57DF#FFFFFF#000000##FFFFFF
##5C57DF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c57df;
/* rgb */ color: rgb(92, 87, 223);
/* oklch */ color: oklch(54.1% 0.201 278.9);
Tailwind
colors: {
  custom: {
    50: '#9687ea',
    500: '#5c57df',
    950: '#000000',
  },
}
SCSS
$custom: #5c57df;
$custom-light: #9687ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57df",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 242.206,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.20066,
    "h": 278.9
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#5C57DF
secondary
#E1E3AF
accent
#D016C9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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