#5D56CC#5D56CC

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

Color values

HEX#5D56CC
RGBrgb(93, 86, 204)
HSLhsl(244, 54%, 57%)
HSVhsv(244, 58%, 80%)
CMYKcmyk(54.4%, 57.8%, 0%, 20%)
CIE-LABlab(43.27, 35.52, -60.58)
CIE-LCHlch(43.27, 70.23, 300.38°)
OKLaboklab(52.55% 0.034 -0.1736)
OKLCHoklch(52.55% 0.177 281.1)
XYZxyz(18.7377, 13.3412, 58.7028)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56CC #C5CC56
analogous
#568ACC #5D56CC #9856CC
triadic
#5D56CC #CC5D56 #56CC5D
tetradic
#5D56CC #CC568A #C5CC56 #56CC98
square
#5D56CC #CC568A #C5CC56 #56CC98
split-complementary
#5D56CC #CC9856 #8ACC56
monochromatic
#2C2781 #3C35B0 #5D56CC #8A85DA #B7B4E8

Accessibility & contrast

On white

5.72
#5D56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5D56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56CC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56CC#FFFFFF#000000##FFFFFF
##5D56CC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d56cc;
/* rgb */ color: rgb(93, 86, 204);
/* oklch */ color: oklch(52.5% 0.177 281.1);
Tailwind
colors: {
  custom: {
    50: '#9486dc',
    500: '#5d56cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d56cc;
$custom-light: #9486dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56cc",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 243.559,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.17692,
    "h": 281.1
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#5D56CC
secondary
#D4D7A7
accent
#DD4BD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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