#5C56EB#5C56EB

#5C56EB is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.217 H 278.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5C56EB
RGBrgb(92, 86, 235)
HSLhsl(242, 79%, 63%)
HSVhsv(242, 63%, 92%)
CMYKcmyk(60.9%, 63.4%, 0%, 7.8%)
CIE-LABlab(45.53, 45.13, -74.58)
CIE-LCHlch(45.53, 87.17, 301.18°)
OKLaboklab(54.92% 0.0312 -0.2148)
OKLCHoklch(54.92% 0.217 278.3)
XYZxyz(22.7320, 14.9273, 80.2645)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56EB #E5EB56
analogous
#569AEB #5C56EB #A656EB
triadic
#5C56EB #EB5C56 #56EB5C
tetradic
#5C56EB #EB569A #E5EB56 #56EBA6
square
#5C56EB #EB569A #E5EB56 #56EBA6
split-complementary
#5C56EB #EBA656 #9AEB56
monochromatic
#1B15B2 #271FE5 #5C56EB #918DF1 #C6C3F8

Accessibility & contrast

On white

5.27
#5C56EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5C56EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56EB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56EB#FFFFFF#000000##FFFFFF
##5C56EB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c56eb;
/* rgb */ color: rgb(92, 86, 235);
/* oklch */ color: oklch(54.9% 0.217 278.3);
Tailwind
colors: {
  custom: {
    50: '#9886f3',
    500: '#5c56eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c56eb;
$custom-light: #9886f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56eb",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 242.416,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.21704,
    "h": 278.3
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#5C56EB
secondary
#E7E9B4
accent
#DB0AD3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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