#5C56E4#5C56E4

#5C56E4 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.3% C 0.208 H 278.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5C56E4
RGBrgb(92, 86, 228)
HSLhsl(243, 72%, 62%)
HSVhsv(243, 62%, 89%)
CMYKcmyk(59.6%, 62.3%, 0%, 10.6%)
CIE-LABlab(44.98, 42.92, -71.52)
CIE-LCHlch(44.98, 83.41, 300.97°)
OKLaboklab(54.35% 0.0318 -0.2058)
OKLCHoklch(54.35% 0.208 278.8)
XYZxyz(21.7405, 14.5307, 75.0428)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56E4 #DEE456
analogous
#5697E4 #5C56E4 #A356E4
triadic
#5C56E4 #E45C56 #56E45C
tetradic
#5C56E4 #E45697 #DEE456 #56E4A3
square
#5C56E4 #E45697 #DEE456 #56E4A3
split-complementary
#5C56E4 #E4A356 #97E456
monochromatic
#201AA5 #2B23DA #5C56E4 #8F8BEC #C2C0F5

Accessibility & contrast

On white

5.38
#5C56E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5C56E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56E4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56E4#FFFFFF#000000##FFFFFF
##5C56E41.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c56e4;
/* rgb */ color: rgb(92, 86, 228);
/* oklch */ color: oklch(54.3% 0.208 278.8);
Tailwind
colors: {
  custom: {
    50: '#9786ee',
    500: '#5c56e4',
    950: '#000000',
  },
}
SCSS
$custom: #5c56e4;
$custom-light: #9786ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56e4",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 242.535,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.20824,
    "h": 278.8
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#5C56E4
secondary
#E3E5B0
accent
#D511CC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5C56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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