#5C56CF#5C56CF

#5C56CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.181 H 280.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5C56CF
RGBrgb(92, 86, 207)
HSLhsl(243, 56%, 57%)
HSVhsv(243, 58%, 81%)
CMYKcmyk(55.6%, 58.5%, 0%, 18.8%)
CIE-LABlab(43.41, 36.27, -62.09)
CIE-LCHlch(43.41, 71.91, 300.29°)
OKLaboklab(52.7% 0.0327 -0.1781)
OKLCHoklch(52.7% 0.181 280.4)
XYZxyz(19.0004, 13.4347, 60.6113)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56CF #C9CF56
analogous
#568DCF #5C56CF #9856CF
triadic
#5C56CF #CF5C56 #56CF5C
tetradic
#5C56CF #CF568D #C9CF56 #56CF98
square
#5C56CF #CF568D #C9CF56 #56CF98
split-complementary
#5C56CF #CF9856 #8DCF56
monochromatic
#2A2685 #3A33B5 #5C56CF #8A86DD #B8B5EA

Accessibility & contrast

On white

5.70
#5C56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5C56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56CF#FFFFFF#000000##FFFFFF
##5C56CF1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#22738A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c56cf;
/* rgb */ color: rgb(92, 86, 207);
/* oklch */ color: oklch(52.7% 0.181 280.4);
Tailwind
colors: {
  custom: {
    50: '#9486de',
    500: '#5c56cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c56cf;
$custom-light: #9486de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56cf",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 242.975,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.18108,
    "h": 280.4
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#5C56CF
secondary
#D6D9A8
accent
#DF49D8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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