#5D56BC#5D56BC

#5D56BC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.155 H 282.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5D56BC
RGBrgb(93, 86, 188)
HSLhsl(244, 43%, 54%)
HSVhsv(244, 54%, 74%)
CMYKcmyk(50.5%, 54.3%, 0%, 26.3%)
CIE-LABlab(42.17, 30.50, -53.08)
CIE-LCHlch(42.17, 61.22, 299.88°)
OKLaboklab(51.38% 0.0337 -0.1516)
OKLCHoklch(51.38% 0.155 282.6)
XYZxyz(16.9163, 12.6127, 49.1103)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56BC #B5BC56
analogous
#5682BC #5D56BC #9056BC
triadic
#5D56BC #BC5D56 #56BC5D
tetradic
#5D56BC #BC5682 #B5BC56 #56BC90
square
#5D56BC #BC5682 #B5BC56 #56BC90
split-complementary
#5D56BC #BC9056 #82BC56
monochromatic
#302B6D #433C98 #5D56BC #8782CD #B1AEDF

Accessibility & contrast

On white

5.96
#5D56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5D56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56BC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56BC#FFFFFF#000000##FFFFFF
##5D56BC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#396D80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d56bc;
/* rgb */ color: rgb(93, 86, 188);
/* oklch */ color: oklch(51.4% 0.155 282.6);
Tailwind
colors: {
  custom: {
    50: '#9286d1',
    500: '#5d56bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d56bc;
$custom-light: #9286d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56bc",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 244.118,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51381,
    "c": 0.15527,
    "h": 282.6
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

primary
#5D56BC
secondary
#CACDA1
accent
#D355CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5D56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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