#5C5CF7#5C5CF7

#5C5CF7 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.225 H 276.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5C5CF7
RGBrgb(92, 92, 247)
HSLhsl(240, 91%, 66%)
HSVhsv(240, 63%, 97%)
CMYKcmyk(62.8%, 62.8%, 0%, 3.1%)
CIE-LABlab(47.81, 45.43, -77.60)
CIE-LCHlch(47.81, 89.92, 300.35°)
OKLaboklab(56.87% 0.0255 -0.2236)
OKLCHoklch(56.87% 0.225 276.5)
XYZxyz(25.0238, 16.6429, 89.8714)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CF7 #F7F75C
analogous
#5CAAF7 #5C5CF7 #AA5CF7
triadic
#5C5CF7 #F75C5C #5CF75C
tetradic
#5C5CF7 #F75CAA #F7F75C #5CF7AA
square
#5C5CF7 #F75CAA #F7F75C #5CF7AA
split-complementary
#5C5CF7 #F7AA5C #AAF75C
monochromatic
#0A0ACE #2222F4 #5C5CF7 #9696FA #D1D1FD

Accessibility & contrast

On white

4.85
#5C5CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5C5CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CF7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CF7#FFFFFF#000000##FFFFFF
##5C5CF71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FC
Deuteranopia (green-blind)
#006BF4
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5cf7;
/* rgb */ color: rgb(92, 92, 247);
/* oklch */ color: oklch(56.9% 0.225 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a8afb',
    500: '#5c5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cf7;
$custom-light: #9a8afb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cf7",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 240,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.56872,
    "c": 0.22507,
    "h": 276.5
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#5C5CF7
secondary
#F1F1BE
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5C5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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