#5C5CF5#5C5CF5

#5C5CF5 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.223 H 276.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5C5CF5
RGBrgb(92, 92, 245)
HSLhsl(240, 88%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(62.4%, 62.4%, 0%, 3.9%)
CIE-LABlab(47.65, 44.79, -76.73)
CIE-LCHlch(47.65, 88.85, 300.27°)
OKLaboklab(56.71% 0.0257 -0.2211)
OKLCHoklch(56.71% 0.223 276.6)
XYZxyz(24.7169, 16.5202, 88.2547)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CF5 #F5F55C
analogous
#5CA8F5 #5C5CF5 #A85CF5
triadic
#5C5CF5 #F55C5C #5CF55C
tetradic
#5C5CF5 #F55CA8 #F5F55C #5CF5A8
square
#5C5CF5 #F55CA8 #F5F55C #5CF5A8
split-complementary
#5C5CF5 #F5A85C #A8F55C
monochromatic
#0C0CCA #2222F1 #5C5CF5 #9696F9 #CFCFFC

Accessibility & contrast

On white

4.88
#5C5CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5C5CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CF5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CF5#FFFFFF#000000##FFFFFF
##5C5CF51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5cf5;
/* rgb */ color: rgb(92, 92, 245);
/* oklch */ color: oklch(56.7% 0.223 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a8afa',
    500: '#5c5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cf5;
$custom-light: #9a8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cf5",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.22258,
    "h": 276.6
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#5C5CF5
secondary
#F0F0BD
accent
#E500E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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