#5D56BF#5D56BF

#5D56BF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.159 H 282.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5D56BF
RGBrgb(93, 86, 191)
HSLhsl(244, 45%, 54%)
HSVhsv(244, 55%, 75%)
CMYKcmyk(51.3%, 55%, 0%, 25.1%)
CIE-LABlab(42.37, 31.44, -54.51)
CIE-LCHlch(42.37, 62.92, 299.98°)
OKLaboklab(51.59% 0.0339 -0.1557)
OKLCHoklch(51.59% 0.159 282.3)
XYZxyz(17.2431, 12.7434, 50.8312)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56BF #B8BF56
analogous
#5684BF #5D56BF #9256BF
triadic
#5D56BF #BF5D56 #56BF5D
tetradic
#5D56BF #BF5684 #B8BF56 #56BF92
square
#5D56BF #BF5684 #B8BF56 #56BF92
split-complementary
#5D56BF #BF9256 #84BF56
monochromatic
#2F2A70 #423B9D #5D56BF #8882D0 #B2AFE1

Accessibility & contrast

On white

5.92
#5D56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5D56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56BF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56BF#FFFFFF#000000##FFFFFF
##5D56BF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#0560BD
Tritanopia (blue-blind)
#366E82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d56bf;
/* rgb */ color: rgb(93, 86, 191);
/* oklch */ color: oklch(51.6% 0.159 282.3);
Tailwind
colors: {
  custom: {
    50: '#9286d3',
    500: '#5d56bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d56bf;
$custom-light: #9286d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56bf",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 244,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.15939,
    "h": 282.3
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#5D56BF
secondary
#CCCFA2
accent
#D553CC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5D56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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