#5C5FEF#5C5FEF

#5C5FEF is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.7% C 0.211 H 276.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5C5FEF
RGBrgb(92, 95, 239)
HSLhsl(239, 82%, 65%)
HSVhsv(239, 62%, 94%)
CMYKcmyk(61.5%, 60.3%, 0%, 6.3%)
CIE-LABlab(47.87, 41.10, -73.02)
CIE-LCHlch(47.87, 83.79, 299.37°)
OKLaboklab(56.72% 0.0235 -0.2102)
OKLCHoklch(56.72% 0.211 276.4)
XYZxyz(24.0808, 16.6898, 83.5971)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FEF #EFEC5C
analogous
#5CA8EF #5C5FEF #A35CEF
triadic
#5C5FEF #EF5C5F #5FEF5C
tetradic
#5C5FEF #EF5CA8 #EFEC5C #5CEFA3
square
#5C5FEF #EF5CA8 #EFEC5C #5CEFA3
split-complementary
#5C5FEF #EFA35C #A8EF5C
monochromatic
#1316BE #2428EA #5C5FEF #9496F4 #CBCCFA

Accessibility & contrast

On white

4.84
#5C5FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5C5FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FEF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FEF#FFFFFF#000000##FFFFFF
##5C5FEF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c5fef;
/* rgb */ color: rgb(92, 95, 239);
/* oklch */ color: oklch(56.7% 0.211 276.4);
Tailwind
colors: {
  custom: {
    50: '#988cf5',
    500: '#5c5fef',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fef;
$custom-light: #988cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fef",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 238.776,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.21148,
    "h": 276.4
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#5C5FEF
secondary
#ECEBBA
accent
#DA07DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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