#5C56EF#5C56EF

#5C56EF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.222 H 278.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5C56EF
RGBrgb(92, 86, 239)
HSLhsl(242, 83%, 64%)
HSVhsv(242, 64%, 94%)
CMYKcmyk(61.5%, 64%, 0%, 6.3%)
CIE-LABlab(45.85, 46.39, -76.30)
CIE-LCHlch(45.85, 89.30, 301.30°)
OKLaboklab(55.25% 0.0309 -0.2199)
OKLCHoklch(55.25% 0.222 278)
XYZxyz(23.3164, 15.1611, 83.3423)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56EF #E9EF56
analogous
#569CEF #5C56EF #A856EF
triadic
#5C56EF #EF5C56 #56EF5C
tetradic
#5C56EF #EF569C #E9EF56 #56EFA8
square
#5C56EF #EF569C #E9EF56 #56EFA8
split-complementary
#5C56EF #EFA856 #9CEF56
monochromatic
#1812B9 #261EEA #5C56EF #928EF4 #C8C6FA

Accessibility & contrast

On white

5.21
#5C56EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5C56EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56EF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56EF#FFFFFF#000000##FFFFFF
##5C56EF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c56ef;
/* rgb */ color: rgb(92, 86, 239);
/* oklch */ color: oklch(55.3% 0.222 278.0);
Tailwind
colors: {
  custom: {
    50: '#9986f5',
    500: '#5c56ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c56ef;
$custom-light: #9986f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56ef",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 242.353,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55251,
    "c": 0.22202,
    "h": 278
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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