#5C5FF0#5C5FF0

#5C5FF0 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.213 H 276.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5C5FF0
RGBrgb(92, 95, 240)
HSLhsl(239, 83%, 65%)
HSVhsv(239, 62%, 94%)
CMYKcmyk(61.7%, 60.4%, 0%, 5.9%)
CIE-LABlab(47.94, 41.42, -73.46)
CIE-LCHlch(47.94, 84.33, 299.42°)
OKLaboklab(56.8% 0.0235 -0.2115)
OKLCHoklch(56.8% 0.213 276.3)
XYZxyz(24.2289, 16.7491, 84.3773)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FF0 #F0ED5C
analogous
#5CA9F0 #5C5FF0 #A35CF0
triadic
#5C5FF0 #F05C5F #5FF05C
tetradic
#5C5FF0 #F05CA9 #F0ED5C #5CF0A3
square
#5C5FF0 #F05CA9 #F0ED5C #5CF0A3
split-complementary
#5C5FF0 #F0A35C #A9F05C
monochromatic
#1215C0 #2428EB #5C5FF0 #9496F5 #CCCDFA

Accessibility & contrast

On white

4.83
#5C5FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5C5FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FF0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FF0#FFFFFF#000000##FFFFFF
##5C5FF01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c5ff0;
/* rgb */ color: rgb(92, 95, 240);
/* oklch */ color: oklch(56.8% 0.213 276.3);
Tailwind
colors: {
  custom: {
    50: '#998cf6',
    500: '#5c5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ff0;
$custom-light: #998cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ff0",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 238.784,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.21276,
    "h": 276.3
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#5C5FF0
secondary
#EDECBB
accent
#DB06E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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