#5C5FE9#5C5FE9

#5C5FE9 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.204 H 276.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5C5FE9
RGBrgb(92, 95, 233)
HSLhsl(239, 76%, 64%)
HSVhsv(239, 61%, 91%)
CMYKcmyk(60.5%, 59.2%, 0%, 8.6%)
CIE-LABlab(47.42, 39.16, -70.38)
CIE-LCHlch(47.42, 80.54, 299.09°)
OKLaboklab(56.25% 0.0237 -0.2024)
OKLCHoklch(56.25% 0.204 276.7)
XYZxyz(23.2091, 16.3411, 79.0061)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FE9 #E9E65C
analogous
#5CA5E9 #5C5FE9 #9F5CE9
triadic
#5C5FE9 #E95C5F #5FE95C
tetradic
#5C5FE9 #E95CA5 #E9E65C #5CE99F
square
#5C5FE9 #E95CA5 #E9E65C #5CE99F
split-complementary
#5C5FE9 #E99F5C #A5E95C
monochromatic
#181BB3 #262AE2 #5C5FE9 #9294F0 #C8C9F8

Accessibility & contrast

On white

4.92
#5C5FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5C5FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FE9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FE9#FFFFFF#000000##FFFFFF
##5C5FE91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5fe9;
/* rgb */ color: rgb(92, 95, 233);
/* oklch */ color: oklch(56.3% 0.204 276.7);
Tailwind
colors: {
  custom: {
    50: '#978cf1',
    500: '#5c5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fe9;
$custom-light: #978cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fe9",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 238.723,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.20379,
    "h": 276.7
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#5C5FE9
secondary
#E9E8B8
accent
#D40DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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