#5C5BF8#5C5BF8

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

Color values

HEX#5C5BF8
RGBrgb(92, 91, 248)
HSLhsl(240, 92%, 66%)
HSVhsv(240, 63%, 97%)
CMYKcmyk(62.9%, 63.3%, 0%, 2.7%)
CIE-LABlab(47.67, 46.33, -78.38)
CIE-LCHlch(47.67, 91.05, 300.59°)
OKLaboklab(56.79% 0.0262 -0.2259)
OKLCHoklch(56.79% 0.227 276.6)
XYZxyz(25.0925, 16.5327, 90.6576)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BF8 #F7F85B
analogous
#5BA9F8 #5C5BF8 #AB5BF8
triadic
#5C5BF8 #F85C5B #5BF85C
tetradic
#5C5BF8 #F85BA9 #F7F85B #5BF8AB
square
#5C5BF8 #F85BA9 #F7F85B #5BF8AB
split-complementary
#5C5BF8 #F8AB5B #A9F85B
monochromatic
#0A09D0 #2220F5 #5C5BF8 #9696FB #D1D0FD

Accessibility & contrast

On white

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

On black

4.31
#5C5BF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C5BF8#FFFFFF#000000##FFFFFF
##5C5BF81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FD
Deuteranopia (green-blind)
#006AF5
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5bf8;
/* rgb */ color: rgb(92, 91, 248);
/* oklch */ color: oklch(56.8% 0.227 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a8afc',
    500: '#5c5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #5c5bf8;
$custom-light: #9a8afc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5bf8",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 240.382,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.22746,
    "h": 276.6
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#5C5BF8
secondary
#F1F1BE
accent
#E600E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5C5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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