#5C5CF0#5C5CF0

#5C5CF0 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.3% C 0.216 H 276.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5C5CF0
RGBrgb(92, 92, 240)
HSLhsl(240, 83%, 65%)
HSVhsv(240, 62%, 94%)
CMYKcmyk(61.7%, 61.7%, 0%, 5.9%)
CIE-LABlab(47.26, 43.20, -74.57)
CIE-LCHlch(47.26, 86.18, 300.08°)
OKLaboklab(56.3% 0.026 -0.2147)
OKLCHoklch(56.3% 0.216 276.9)
XYZxyz(23.9639, 16.2190, 84.2889)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CF0 #F0F05C
analogous
#5CA6F0 #5C5CF0 #A65CF0
triadic
#5C5CF0 #F05C5C #5CF05C
tetradic
#5C5CF0 #F05CA6 #F0F05C #5CF0A6
square
#5C5CF0 #F05CA6 #F0F05C #5CF0A6
split-complementary
#5C5CF0 #F0A65C #A6F05C
monochromatic
#1212C0 #2424EB #5C5CF0 #9494F5 #CCCCFA

Accessibility & contrast

On white

4.95
#5C5CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5C5CF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CF0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CF0#FFFFFF#000000##FFFFFF
##5C5CF01.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5cf0;
/* rgb */ color: rgb(92, 92, 240);
/* oklch */ color: oklch(56.3% 0.216 276.9);
Tailwind
colors: {
  custom: {
    50: '#998af6',
    500: '#5c5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cf0;
$custom-light: #998af6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cf0",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 240,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.21631,
    "h": 276.9
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#5C5CF0
secondary
#EDEDBB
accent
#E006E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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