#5D56C8#5D56C8

#5D56C8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.172 H 281.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5D56C8
RGBrgb(93, 86, 200)
HSLhsl(244, 51%, 56%)
HSVhsv(244, 57%, 78%)
CMYKcmyk(53.5%, 57%, 0%, 21.6%)
CIE-LABlab(42.99, 34.26, -58.73)
CIE-LCHlch(42.99, 67.99, 300.25°)
OKLaboklab(52.25% 0.034 -0.1682)
OKLCHoklch(52.25% 0.172 281.4)
XYZxyz(18.2641, 13.1518, 56.2085)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56C8 #C1C856
analogous
#5688C8 #5D56C8 #9656C8
triadic
#5D56C8 #C85D56 #56C85D
tetradic
#5D56C8 #C85688 #C1C856 #56C896
square
#5D56C8 #C85688 #C1C856 #56C896
split-complementary
#5D56C8 #C89656 #88C856
monochromatic
#2D287B #3E37AA #5D56C8 #8984D7 #B6B2E6

Accessibility & contrast

On white

5.78
#5D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5D56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56C8#FFFFFF#000000##FFFFFF
##5D56C81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#2E7087
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d56c8;
/* rgb */ color: rgb(93, 86, 200);
/* oklch */ color: oklch(52.2% 0.172 281.4);
Tailwind
colors: {
  custom: {
    50: '#9386d9',
    500: '#5d56c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d56c8;
$custom-light: #9386d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56c8",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 243.684,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.17158,
    "h": 281.4
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#5D56C8
secondary
#D2D4A5
accent
#DA4DD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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