#5C5FF7#5C5FF7

#5C5FF7 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.4% C 0.222 H 276.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5C5FF7
RGBrgb(92, 95, 247)
HSLhsl(239, 91%, 66%)
HSVhsv(239, 63%, 97%)
CMYKcmyk(62.8%, 61.5%, 0%, 3.1%)
CIE-LABlab(48.48, 43.67, -76.50)
CIE-LCHlch(48.48, 88.09, 299.72°)
OKLaboklab(57.36% 0.0232 -0.2204)
OKLCHoklch(57.36% 0.222 276)
XYZxyz(25.2889, 17.1730, 89.9597)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FF7 #F7F45C
analogous
#5CADF7 #5C5FF7 #A75CF7
triadic
#5C5FF7 #F75C5F #5FF75C
tetradic
#5C5FF7 #F75CAD #F7F45C #5CF7A7
square
#5C5FF7 #F75CAD #F7F45C #5CF7A7
split-complementary
#5C5FF7 #F7A75C #ADF75C
monochromatic
#0A0ECE #2226F4 #5C5FF7 #9698FA #D1D2FD

Accessibility & contrast

On white

4.74
#5C5FF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5C5FF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FF7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FF7#FFFFFF#000000##FFFFFF
##5C5FF71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#0085A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c5ff7;
/* rgb */ color: rgb(92, 95, 247);
/* oklch */ color: oklch(57.4% 0.222 276.0);
Tailwind
colors: {
  custom: {
    50: '#9a8dfb',
    500: '#5c5ff7',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ff7;
$custom-light: #9a8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ff7",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 247
  },
  "hsl": {
    "h": 238.839,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.2216,
    "h": 276
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#5C5FF7
secondary
#F1F0BE
accent
#E100E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5C5FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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