#5C5CF1#5C5CF1

#5C5CF1 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.218 H 276.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5C5CF1
RGBrgb(92, 92, 241)
HSLhsl(240, 84%, 65%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.8%, 61.8%, 0%, 5.5%)
CIE-LABlab(47.34, 43.52, -75.00)
CIE-LCHlch(47.34, 86.71, 300.12°)
OKLaboklab(56.38% 0.0259 -0.216)
OKLCHoklch(56.38% 0.218 276.8)
XYZxyz(24.1128, 16.2785, 85.0734)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CF1 #F1F15C
analogous
#5CA6F1 #5C5CF1 #A65CF1
triadic
#5C5CF1 #F15C5C #5CF15C
tetradic
#5C5CF1 #F15CA6 #F1F15C #5CF1A6
square
#5C5CF1 #F15CA6 #F1F15C #5CF1A6
split-complementary
#5C5CF1 #F1A65C #A6F15C
monochromatic
#1111C2 #2424EC #5C5CF1 #9494F6 #CDCDFB

Accessibility & contrast

On white

4.93
#5C5CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5C5CF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CF1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CF1#FFFFFF#000000##FFFFFF
##5C5CF11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5cf1;
/* rgb */ color: rgb(92, 92, 241);
/* oklch */ color: oklch(56.4% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#998af7',
    500: '#5c5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cf1;
$custom-light: #998af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cf1",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 240,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.21756,
    "h": 276.8
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#5C5CF1
secondary
#EEEEBB
accent
#E105E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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