#5C56EC#5C56EC

#5C56EC is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.218 H 278.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5C56EC
RGBrgb(92, 86, 236)
HSLhsl(242, 80%, 63%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(61%, 63.6%, 0%, 7.5%)
CIE-LABlab(45.61, 45.44, -75.01)
CIE-LCHlch(45.61, 87.70, 301.21°)
OKLaboklab(55% 0.0312 -0.2161)
OKLCHoklch(55% 0.218 278.2)
XYZxyz(22.8769, 14.9853, 81.0275)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56EC #E6EC56
analogous
#569BEC #5C56EC #A756EC
triadic
#5C56EC #EC5C56 #56EC5C
tetradic
#5C56EC #EC569B #E6EC56 #56ECA7
square
#5C56EC #EC569B #E6EC56 #56ECA7
split-complementary
#5C56EC #ECA756 #9BEC56
monochromatic
#1B14B3 #271FE6 #5C56EC #918DF2 #C6C4F8

Accessibility & contrast

On white

5.25
#5C56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5C56EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56EC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56EC#FFFFFF#000000##FFFFFF
##5C56EC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c56ec;
/* rgb */ color: rgb(92, 86, 236);
/* oklch */ color: oklch(55.0% 0.218 278.2);
Tailwind
colors: {
  custom: {
    50: '#9886f3',
    500: '#5c56ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c56ec;
$custom-light: #9886f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56ec",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 242.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.2183,
    "h": 278.2
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#5C56EC
secondary
#E8EAB4
accent
#DC09D4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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