#5C56E7#5C56E7

#5C56E7 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.212 H 278.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5C56E7
RGBrgb(92, 86, 231)
HSLhsl(242, 75%, 62%)
HSVhsv(242, 63%, 91%)
CMYKcmyk(60.2%, 62.8%, 0%, 9.4%)
CIE-LABlab(45.22, 43.87, -72.83)
CIE-LCHlch(45.22, 85.02, 301.06°)
OKLaboklab(54.59% 0.0316 -0.2097)
OKLCHoklch(54.59% 0.212 278.6)
XYZxyz(22.1606, 14.6987, 77.2552)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56E7 #E1E756
analogous
#5698E7 #5C56E7 #A556E7
triadic
#5C56E7 #E75C56 #56E75C
tetradic
#5C56E7 #E75698 #E1E756 #56E7A5
square
#5C56E7 #E75698 #E1E756 #56E7A5
split-complementary
#5C56E7 #E7A556 #98E756
monochromatic
#1E18AA #2820DF #5C56E7 #908CEF #C3C1F6

Accessibility & contrast

On white

5.33
#5C56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5C56E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56E7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56E7#FFFFFF#000000##FFFFFF
##5C56E71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c56e7;
/* rgb */ color: rgb(92, 86, 231);
/* oklch */ color: oklch(54.6% 0.212 278.6);
Tailwind
colors: {
  custom: {
    50: '#9886f0',
    500: '#5c56e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c56e7;
$custom-light: #9886f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56e7",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 242.483,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54591,
    "c": 0.21203,
    "h": 278.6
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#5C56E7
secondary
#E5E7B2
accent
#D70ECF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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