#5956BD#5956BD

#5956BD is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.157 H 280.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5956BD
RGBrgb(89, 86, 189)
HSLhsl(242, 44%, 54%)
HSVhsv(242, 54%, 74%)
CMYKcmyk(52.9%, 54.5%, 0%, 25.9%)
CIE-LABlab(41.93, 29.97, -54.08)
CIE-LCHlch(41.93, 61.83, 299.00°)
OKLaboklab(51.14% 0.0289 -0.1546)
OKLCHoklch(51.14% 0.157 280.6)
XYZxyz(16.6301, 12.4526, 49.6615)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956BD #BABD56
analogous
#5687BD #5956BD #8D56BD
triadic
#5956BD #BD5956 #56BD59
tetradic
#5956BD #BD5687 #BABD56 #56BD8D
square
#5956BD #BD5687 #BABD56 #56BD8D
split-complementary
#5956BD #BD8D56 #87BD56
monochromatic
#2D2B6E #3F3C9A #5956BD #8482CE #AFAEDF

Accessibility & contrast

On white

6.02
#5956BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5956BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956BD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956BD#FFFFFF#000000##FFFFFF
##5956BD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#035FBB
Tritanopia (blue-blind)
#2E6D81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5956bd;
/* rgb */ color: rgb(89, 86, 189);
/* oklch */ color: oklch(51.1% 0.157 280.6);
Tailwind
colors: {
  custom: {
    50: '#9085d1',
    500: '#5956bd',
    950: '#000000',
  },
}
SCSS
$custom: #5956bd;
$custom-light: #9085d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5956bd",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 241.748,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.15728,
    "h": 280.6
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#5956BD
secondary
#CCCDA1
accent
#D454D0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5956BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5956BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva