#5C5EF4#5C5EF4

#5C5EF4 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.0% C 0.219 H 276.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5C5EF4
RGBrgb(92, 94, 244)
HSLhsl(239, 87%, 66%)
HSVhsv(239, 62%, 96%)
CMYKcmyk(62.3%, 61.5%, 0%, 4.3%)
CIE-LABlab(48.02, 43.30, -75.57)
CIE-LCHlch(48.02, 87.10, 299.81°)
OKLaboklab(56.96% 0.0241 -0.2177)
OKLCHoklch(56.96% 0.219 276.3)
XYZxyz(24.7402, 16.8104, 87.5114)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EF4 #F4F25C
analogous
#5CAAF4 #5C5EF4 #A65CF4
triadic
#5C5EF4 #F45C5E #5EF45C
tetradic
#5C5EF4 #F45CAA #F4F25C #5CF4A6
square
#5C5EF4 #F45CAA #F4F25C #5CF4A6
split-complementary
#5C5EF4 #F4A65C #AAF45C
monochromatic
#0E10C8 #2325F0 #5C5EF4 #9597F8 #CFCFFC

Accessibility & contrast

On white

4.81
#5C5EF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5C5EF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EF4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EF4#FFFFFF#000000##FFFFFF
##5C5EF41.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c5ef4;
/* rgb */ color: rgb(92, 94, 244);
/* oklch */ color: oklch(57.0% 0.219 276.3);
Tailwind
colors: {
  custom: {
    50: '#998cf9',
    500: '#5c5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ef4;
$custom-light: #998cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ef4",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 239.211,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56956,
    "c": 0.219,
    "h": 276.3
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#5C5EF4
secondary
#EFEEBD
accent
#E102E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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