#5C56EE#5C56EE

#5C56EE is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.221 H 278.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5C56EE
RGBrgb(92, 86, 238)
HSLhsl(242, 82%, 64%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(61.3%, 63.9%, 0%, 6.7%)
CIE-LABlab(45.77, 46.07, -75.87)
CIE-LCHlch(45.77, 88.77, 301.27°)
OKLaboklab(55.17% 0.031 -0.2186)
OKLCHoklch(55.17% 0.221 278.1)
XYZxyz(23.1691, 15.1021, 82.5664)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56EE #E8EE56
analogous
#569CEE #5C56EE #A856EE
triadic
#5C56EE #EE5C56 #56EE5C
tetradic
#5C56EE #EE569C #E8EE56 #56EEA8
square
#5C56EE #EE569C #E8EE56 #56EEA8
split-complementary
#5C56EE #EEA856 #9CEE56
monochromatic
#1912B7 #261EE8 #5C56EE #928EF4 #C7C5F9

Accessibility & contrast

On white

5.22
#5C56EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5C56EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56EE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56EE#FFFFFF#000000##FFFFFF
##5C56EE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c56ee;
/* rgb */ color: rgb(92, 86, 238);
/* oklch */ color: oklch(55.2% 0.221 278.1);
Tailwind
colors: {
  custom: {
    50: '#9986f5',
    500: '#5c56ee',
    950: '#000000',
  },
}
SCSS
$custom: #5c56ee;
$custom-light: #9986f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56ee",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 242.368,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.22078,
    "h": 278.1
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#5C56EE
secondary
#E9EBB5
accent
#DE07D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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