#5C56ED#5C56ED

#5C56ED is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.1% C 0.220 H 278.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5C56ED
RGBrgb(92, 86, 237)
HSLhsl(242, 81%, 63%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(61.2%, 63.7%, 0%, 7.1%)
CIE-LABlab(45.69, 45.76, -75.44)
CIE-LCHlch(45.69, 88.23, 301.24°)
OKLaboklab(55.08% 0.0311 -0.2173)
OKLCHoklch(55.08% 0.22 278.1)
XYZxyz(23.0226, 15.0435, 81.7948)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56ED #E7ED56
analogous
#569BED #5C56ED #A756ED
triadic
#5C56ED #ED5C56 #56ED5C
tetradic
#5C56ED #ED569B #E7ED56 #56EDA7
square
#5C56ED #ED569B #E7ED56 #56EDA7
split-complementary
#5C56ED #EDA756 #9BED56
monochromatic
#1A13B5 #271FE7 #5C56ED #918DF3 #C7C5F9

Accessibility & contrast

On white

5.24
#5C56ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5C56ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56ED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56ED#FFFFFF#000000##FFFFFF
##5C56ED1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0066EA
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c56ed;
/* rgb */ color: rgb(92, 86, 237);
/* oklch */ color: oklch(55.1% 0.220 278.1);
Tailwind
colors: {
  custom: {
    50: '#9986f4',
    500: '#5c56ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c56ed;
$custom-light: #9986f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56ed",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 242.384,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55084,
    "c": 0.21954,
    "h": 278.1
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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