#5C5DF1#5C5DF1

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

Color values

HEX#5C5DF1
RGBrgb(92, 93, 241)
HSLhsl(240, 84%, 65%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.8%, 61.4%, 0%, 5.5%)
CIE-LABlab(47.56, 42.93, -74.64)
CIE-LCHlch(47.56, 86.10, 299.90°)
OKLaboklab(56.55% 0.0251 -0.2149)
OKLCHoklch(56.55% 0.216 276.7)
XYZxyz(24.2000, 16.4529, 85.1025)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DF1 #F1F05C
analogous
#5CA8F1 #5C5DF1 #A55CF1
triadic
#5C5DF1 #F15C5D #5DF15C
tetradic
#5C5DF1 #F15CA8 #F1F05C #5CF1A5
square
#5C5DF1 #F15CA8 #F1F05C #5CF1A5
split-complementary
#5C5DF1 #F1A55C #A8F15C
monochromatic
#1112C2 #2425EC #5C5DF1 #9495F6 #CDCDFB

Accessibility & contrast

On white

4.89
#5C5DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5C5DF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DF1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DF1#FFFFFF#000000##FFFFFF
##5C5DF11.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5df1;
/* rgb */ color: rgb(92, 93, 241);
/* oklch */ color: oklch(56.5% 0.216 276.7);
Tailwind
colors: {
  custom: {
    50: '#998bf7',
    500: '#5c5df1',
    950: '#000000',
  },
}
SCSS
$custom: #5c5df1;
$custom-light: #998bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5df1",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 239.597,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56548,
    "c": 0.21639,
    "h": 276.7
  },
  "luminance": 0.16455
}

Semantic roles & 50–950 ramp

primary
#5C5DF1
secondary
#EEEDBB
accent
#DF05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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