#5C5FEE#5C5FEE

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

Color values

HEX#5C5FEE
RGBrgb(92, 95, 238)
HSLhsl(239, 81%, 65%)
HSVhsv(239, 61%, 93%)
CMYKcmyk(61.3%, 60.1%, 0%, 6.7%)
CIE-LABlab(47.79, 40.77, -72.58)
CIE-LCHlch(47.79, 83.25, 299.33°)
OKLaboklab(56.65% 0.0236 -0.2089)
OKLCHoklch(56.65% 0.21 276.4)
XYZxyz(23.9334, 16.6309, 82.8212)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FEE #EEEB5C
analogous
#5CA8EE #5C5FEE #A25CEE
triadic
#5C5FEE #EE5C5F #5FEE5C
tetradic
#5C5FEE #EE5CA8 #EEEB5C #5CEEA2
square
#5C5FEE #EE5CA8 #EEEB5C #5CEEA2
split-complementary
#5C5FEE #EEA25C #A8EE5C
monochromatic
#1417BC #2529E8 #5C5FEE #9395F4 #CBCCFA

Accessibility & contrast

On white

4.85
#5C5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5C5FEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FEE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FEE#FFFFFF#000000##FFFFFF
##5C5FEE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5fee;
/* rgb */ color: rgb(92, 95, 238);
/* oklch */ color: oklch(56.6% 0.210 276.4);
Tailwind
colors: {
  custom: {
    50: '#988cf5',
    500: '#5c5fee',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fee;
$custom-light: #988cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fee",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 238.767,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.21021,
    "h": 276.4
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#5C5FEE
secondary
#ECEBBA
accent
#D908DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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