#5C5FE7#5C5FE7

#5C5FE7 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.1% C 0.201 H 276.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5C5FE7
RGBrgb(92, 95, 231)
HSLhsl(239, 74%, 63%)
HSVhsv(239, 60%, 91%)
CMYKcmyk(60.2%, 58.9%, 0%, 9.4%)
CIE-LABlab(47.27, 38.52, -69.49)
CIE-LCHlch(47.27, 79.45, 299.00°)
OKLaboklab(56.1% 0.0238 -0.1998)
OKLCHoklch(56.1% 0.201 276.8)
XYZxyz(22.9250, 16.2275, 77.5100)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FE7 #E7E45C
analogous
#5CA4E7 #5C5FE7 #9E5CE7
triadic
#5C5FE7 #E75C5F #5FE75C
tetradic
#5C5FE7 #E75CA4 #E7E45C #5CE79E
square
#5C5FE7 #E75CA4 #E7E45C #5CE79E
split-complementary
#5C5FE7 #E79E5C #A4E75C
monochromatic
#1A1DAF #272BDF #5C5FE7 #9193EF #C7C8F7

Accessibility & contrast

On white

4.95
#5C5FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5C5FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FE7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FE7#FFFFFF#000000##FFFFFF
##5C5FE71.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5fe7;
/* rgb */ color: rgb(92, 95, 231);
/* oklch */ color: oklch(56.1% 0.201 276.8);
Tailwind
colors: {
  custom: {
    50: '#978cf0',
    500: '#5c5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fe7;
$custom-light: #978cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fe7",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 238.705,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56098,
    "c": 0.2012,
    "h": 276.8
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#5C5FE7
secondary
#E8E7B7
accent
#D20FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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