#5C5FF1#5C5FF1

#5C5FF1 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.214 H 276.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5C5FF1
RGBrgb(92, 95, 241)
HSLhsl(239, 84%, 65%)
HSVhsv(239, 62%, 95%)
CMYKcmyk(61.8%, 60.6%, 0%, 5.5%)
CIE-LABlab(48.02, 41.74, -73.90)
CIE-LCHlch(48.02, 84.87, 299.46°)
OKLaboklab(56.88% 0.0235 -0.2127)
OKLCHoklch(56.88% 0.214 276.3)
XYZxyz(24.3779, 16.8086, 85.1618)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FF1 #F1EE5C
analogous
#5CA9F1 #5C5FF1 #A35CF1
triadic
#5C5FF1 #F15C5F #5FF15C
tetradic
#5C5FF1 #F15CA9 #F1EE5C #5CF1A3
square
#5C5FF1 #F15CA9 #F1EE5C #5CF1A3
split-complementary
#5C5FF1 #F1A35C #A9F15C
monochromatic
#1114C2 #2428EC #5C5FF1 #9496F6 #CDCEFB

Accessibility & contrast

On white

4.81
#5C5FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5C5FF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FF1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FF1#FFFFFF#000000##FFFFFF
##5C5FF11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006CEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c5ff1;
/* rgb */ color: rgb(92, 95, 241);
/* oklch */ color: oklch(56.9% 0.214 276.3);
Tailwind
colors: {
  custom: {
    50: '#998cf7',
    500: '#5c5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ff1;
$custom-light: #998cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ff1",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 238.792,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.21403,
    "h": 276.3
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#5C5FF1
secondary
#EEECBB
accent
#DC05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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