#5C5BF4#5C5BF4

#5C5BF4 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.222 H 276.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5C5BF4
RGBrgb(92, 91, 244)
HSLhsl(240, 87%, 66%)
HSVhsv(240, 63%, 96%)
CMYKcmyk(62.3%, 62.7%, 0%, 4.3%)
CIE-LABlab(47.35, 45.06, -76.67)
CIE-LCHlch(47.35, 88.93, 300.44°)
OKLaboklab(56.46% 0.0265 -0.2209)
OKLCHoklch(56.46% 0.222 276.8)
XYZxyz(24.4786, 16.2872, 87.4242)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BF4 #F3F45B
analogous
#5BA6F4 #5C5BF4 #A85BF4
triadic
#5C5BF4 #F45C5B #5BF45C
tetradic
#5C5BF4 #F45BA6 #F3F45B #5BF4A8
square
#5C5BF4 #F45BA6 #F3F45B #5BF4A8
split-complementary
#5C5BF4 #F4A85B #A6F45B
monochromatic
#0F0DC7 #2322F0 #5C5BF4 #9594F8 #CECEFC

Accessibility & contrast

On white

4.93
#5C5BF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5C5BF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BF4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BF4#FFFFFF#000000##FFFFFF
##5C5BF41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5bf4;
/* rgb */ color: rgb(92, 91, 244);
/* oklch */ color: oklch(56.5% 0.222 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a8af9',
    500: '#5c5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #5c5bf4;
$custom-light: #9a8af9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5bf4",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 240.392,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.22249,
    "h": 276.8
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#5C5BF4
secondary
#EFEFBC
accent
#E402E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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