#5C5EF7#5C5EF7

#5C5EF7 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.223 H 276.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C5EF7
RGBrgb(92, 94, 247)
HSLhsl(239, 91%, 66%)
HSVhsv(239, 63%, 97%)
CMYKcmyk(62.8%, 61.9%, 0%, 3.1%)
CIE-LABlab(48.25, 44.26, -76.87)
CIE-LCHlch(48.25, 88.70, 299.93°)
OKLaboklab(57.2% 0.024 -0.2215)
OKLCHoklch(57.2% 0.223 276.2)
XYZxyz(25.1994, 16.9940, 89.9299)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EF7 #F7F55C
analogous
#5CACF7 #5C5EF7 #A85CF7
triadic
#5C5EF7 #F75C5E #5EF75C
tetradic
#5C5EF7 #F75CAC #F7F55C #5CF7A8
square
#5C5EF7 #F75CAC #F7F55C #5CF7A8
split-complementary
#5C5EF7 #F7A85C #ACF75C
monochromatic
#0A0DCE #2224F4 #5C5EF7 #9698FA #D1D1FD

Accessibility & contrast

On white

4.77
#5C5EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5C5EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EF7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EF7#FFFFFF#000000##FFFFFF
##5C5EF71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5ef7;
/* rgb */ color: rgb(92, 94, 247);
/* oklch */ color: oklch(57.2% 0.223 276.2);
Tailwind
colors: {
  custom: {
    50: '#9a8cfb',
    500: '#5c5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ef7;
$custom-light: #9a8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ef7",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 239.226,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57198,
    "c": 0.22276,
    "h": 276.2
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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