#5C56CC#5C56CC

#5C56CC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.177 H 280.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5C56CC
RGBrgb(92, 86, 204)
HSLhsl(243, 54%, 57%)
HSVhsv(243, 58%, 80%)
CMYKcmyk(54.9%, 57.8%, 0%, 20%)
CIE-LABlab(43.20, 35.33, -60.71)
CIE-LCHlch(43.20, 70.24, 300.19°)
OKLaboklab(52.47% 0.0328 -0.174)
OKLCHoklch(52.47% 0.177 280.7)
XYZxyz(18.6371, 13.2893, 58.6981)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56CC #C6CC56
analogous
#568BCC #5C56CC #9756CC
triadic
#5C56CC #CC5C56 #56CC5C
tetradic
#5C56CC #CC568B #C6CC56 #56CC97
square
#5C56CC #CC568B #C6CC56 #56CC97
split-complementary
#5C56CC #CC9756 #8BCC56
monochromatic
#2B2781 #3B35B0 #5C56CC #8985DA #B7B4E8

Accessibility & contrast

On white

5.74
#5C56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5C56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56CC#FFFFFF#000000##FFFFFF
##5C56CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#267289
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c56cc;
/* rgb */ color: rgb(92, 86, 204);
/* oklch */ color: oklch(52.5% 0.177 280.7);
Tailwind
colors: {
  custom: {
    50: '#9386dc',
    500: '#5c56cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c56cc;
$custom-light: #9386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56cc",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 243.051,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.17709,
    "h": 280.7
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#5C56CC
secondary
#D5D7A7
accent
#DD4BD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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