#5C5FEC#5C5FEC

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

Color values

HEX#5C5FEC
RGBrgb(92, 95, 236)
HSLhsl(239, 79%, 64%)
HSVhsv(239, 61%, 93%)
CMYKcmyk(61%, 59.7%, 0%, 7.5%)
CIE-LABlab(47.64, 40.13, -71.70)
CIE-LCHlch(47.64, 82.17, 299.23°)
OKLaboklab(56.49% 0.0236 -0.2063)
OKLCHoklch(56.49% 0.208 276.5)
XYZxyz(23.6413, 16.5140, 81.2823)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FEC #ECE95C
analogous
#5CA7EC #5C5FEC #A15CEC
triadic
#5C5FEC #EC5C5F #5FEC5C
tetradic
#5C5FEC #EC5CA7 #ECE95C #5CECA1
square
#5C5FEC #EC5CA7 #ECE95C #5CECA1
split-complementary
#5C5FEC #ECA15C #A7EC5C
monochromatic
#1519B8 #2529E6 #5C5FEC #9395F2 #CACBF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5FEC#FFFFFF#000000##FFFFFF
##5C5FEC1.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)
#0077F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5fec;
/* rgb */ color: rgb(92, 95, 236);
/* oklch */ color: oklch(56.5% 0.208 276.5);
Tailwind
colors: {
  custom: {
    50: '#988cf3',
    500: '#5c5fec',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fec;
$custom-light: #988cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fec",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 238.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56488,
    "c": 0.20765,
    "h": 276.5
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#5C5FEC
secondary
#EBEAB9
accent
#D70ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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