#5C5AF4#5C5AF4

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

Color values

HEX#5C5AF4
RGBrgb(92, 90, 244)
HSLhsl(241, 88%, 65%)
HSVhsv(241, 63%, 96%)
CMYKcmyk(62.3%, 63.1%, 0%, 4.3%)
CIE-LABlab(47.13, 45.64, -77.03)
CIE-LCHlch(47.13, 89.54, 300.65°)
OKLaboklab(56.3% 0.0273 -0.222)
OKLCHoklch(56.3% 0.224 277)
XYZxyz(24.3936, 16.1173, 87.3959)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AF4 #F2F45A
analogous
#5AA5F4 #5C5AF4 #A95AF4
triadic
#5C5AF4 #F45C5A #5AF45C
tetradic
#5C5AF4 #F45AA5 #F2F45A #5AF4A9
square
#5C5AF4 #F45AA5 #F2F45A #5AF4A9
split-complementary
#5C5AF4 #F4A95A #A5F45A
monochromatic
#100DC6 #2321F0 #5C5AF4 #9593F8 #CDCDFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5AF4#FFFFFF#000000##FFFFFF
##5C5AF41.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)
#0076F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5af4;
/* rgb */ color: rgb(92, 90, 244);
/* oklch */ color: oklch(56.3% 0.224 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a89f9',
    500: '#5c5af4',
    950: '#000000',
  },
}
SCSS
$custom: #5c5af4;
$custom-light: #9a89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5af4",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 240.779,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.22364,
    "h": 277
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#5C5AF4
secondary
#EEEFBB
accent
#E401E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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