#5C56E2#5C56E2

#5C56E2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.206 H 278.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C56E2
RGBrgb(92, 86, 226)
HSLhsl(243, 71%, 61%)
HSVhsv(243, 62%, 89%)
CMYKcmyk(59.3%, 61.9%, 0%, 11.4%)
CIE-LABlab(44.83, 42.29, -70.64)
CIE-LCHlch(44.83, 82.33, 300.91°)
OKLaboklab(54.19% 0.0319 -0.2032)
OKLCHoklch(54.19% 0.206 278.9)
XYZxyz(21.4645, 14.4203, 73.5891)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56E2 #DCE256
analogous
#5696E2 #5C56E2 #A256E2
triadic
#5C56E2 #E25C56 #56E25C
tetradic
#5C56E2 #E25696 #DCE256 #56E2A2
square
#5C56E2 #E25696 #DCE256 #56E2A2
split-complementary
#5C56E2 #E2A256 #96E256
monochromatic
#221CA2 #2C25D6 #5C56E2 #8E8AEB #C1BEF4

Accessibility & contrast

On white

5.41
#5C56E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5C56E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56E2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56E2#FFFFFF#000000##FFFFFF
##5C56E21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c56e2;
/* rgb */ color: rgb(92, 86, 226);
/* oklch */ color: oklch(54.2% 0.206 278.9);
Tailwind
colors: {
  custom: {
    50: '#9786ec',
    500: '#5c56e2',
    950: '#000000',
  },
}
SCSS
$custom: #5c56e2;
$custom-light: #9786ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56e2",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 242.571,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54185,
    "c": 0.20571,
    "h": 278.9
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#5C56E2
secondary
#E2E4B0
accent
#D313CA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5C56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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