#5C5FED#5C5FED

#5C5FED is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.6% C 0.209 H 276.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5C5FED
RGBrgb(92, 95, 237)
HSLhsl(239, 80%, 65%)
HSVhsv(239, 61%, 93%)
CMYKcmyk(61.2%, 59.9%, 0%, 7.1%)
CIE-LABlab(47.72, 40.45, -72.14)
CIE-LCHlch(47.72, 82.71, 299.28°)
OKLaboklab(56.57% 0.0236 -0.2076)
OKLCHoklch(56.57% 0.209 276.5)
XYZxyz(23.7869, 16.5723, 82.0496)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FED #EDEA5C
analogous
#5CA7ED #5C5FED #A25CED
triadic
#5C5FED #ED5C5F #5FED5C
tetradic
#5C5FED #ED5CA7 #EDEA5C #5CEDA2
square
#5C5FED #ED5CA7 #EDEA5C #5CEDA2
split-complementary
#5C5FED #EDA25C #A7ED5C
monochromatic
#1518BA #2529E7 #5C5FED #9395F3 #CACBF9

Accessibility & contrast

On white

4.87
#5C5FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C5FED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FED#FFFFFF#000000##FFFFFF
##5C5FED1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5fed;
/* rgb */ color: rgb(92, 95, 237);
/* oklch */ color: oklch(56.6% 0.209 276.5);
Tailwind
colors: {
  custom: {
    50: '#988cf4',
    500: '#5c5fed',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fed;
$custom-light: #988cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fed",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 238.759,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.20893,
    "h": 276.5
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#5C5FED
secondary
#EBEAB9
accent
#D809DC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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