#5C5AF7#5C5AF7

#5C5AF7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.6% C 0.227 H 276.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5C5AF7
RGBrgb(92, 90, 247)
HSLhsl(241, 91%, 66%)
HSVhsv(241, 64%, 97%)
CMYKcmyk(62.8%, 63.6%, 0%, 3.1%)
CIE-LABlab(47.37, 46.60, -78.31)
CIE-LCHlch(47.37, 91.13, 300.75°)
OKLaboklab(56.55% 0.0271 -0.2257)
OKLCHoklch(56.55% 0.227 276.8)
XYZxyz(24.8528, 16.3010, 89.8144)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AF7 #F5F75A
analogous
#5AA6F7 #5C5AF7 #AA5AF7
triadic
#5C5AF7 #F75C5A #5AF75C
tetradic
#5C5AF7 #F75AA6 #F5F75A #5AF7AA
square
#5C5AF7 #F75AA6 #F5F75A #5AF7AA
split-complementary
#5C5AF7 #F7AA5A #A6F75A
monochromatic
#0C0ACD #2220F4 #5C5AF7 #9694FA #CFCFFD

Accessibility & contrast

On white

4.93
#5C5AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5C5AF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5AF7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5AF7#FFFFFF#000000##FFFFFF
##5C5AF71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5af7;
/* rgb */ color: rgb(92, 90, 247);
/* oklch */ color: oklch(56.6% 0.227 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a89fb',
    500: '#5c5af7',
    950: '#000000',
  },
}
SCSS
$custom: #5c5af7;
$custom-light: #9a89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5af7",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 240.764,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.22736,
    "h": 276.8
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#5C5AF7
secondary
#F0F0BD
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5C5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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