#5C5BF1#5C5BF1

#5C5BF1 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.2% C 0.219 H 277.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5C5BF1
RGBrgb(92, 91, 241)
HSLhsl(240, 84%, 65%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.8%, 62.2%, 0%, 5.5%)
CIE-LABlab(47.11, 44.10, -75.37)
CIE-LCHlch(47.11, 87.33, 300.34°)
OKLaboklab(56.22% 0.0267 -0.2171)
OKLCHoklch(56.22% 0.219 277)
XYZxyz(24.0268, 16.1064, 85.0447)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BF1 #F0F15B
analogous
#5BA5F1 #5C5BF1 #A75BF1
triadic
#5C5BF1 #F15C5B #5BF15C
tetradic
#5C5BF1 #F15BA5 #F0F15B #5BF1A7
square
#5C5BF1 #F15BA5 #F0F15B #5BF1A7
split-complementary
#5C5BF1 #F1A75B #A5F15B
monochromatic
#1210C1 #2423EC #5C5BF1 #9493F6 #CCCCFB

Accessibility & contrast

On white

4.97
#5C5BF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5C5BF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BF1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BF1#FFFFFF#000000##FFFFFF
##5C5BF11.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5bf1;
/* rgb */ color: rgb(92, 91, 241);
/* oklch */ color: oklch(56.2% 0.219 277.0);
Tailwind
colors: {
  custom: {
    50: '#998af7',
    500: '#5c5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #5c5bf1;
$custom-light: #998af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5bf1",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 240.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.21873,
    "h": 277
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#5C5BF1
secondary
#EDEDBA
accent
#E105DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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