#5956BC#5956BC

#5956BC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.156 H 280.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5956BC
RGBrgb(89, 86, 188)
HSLhsl(242, 43%, 54%)
HSVhsv(242, 54%, 74%)
CMYKcmyk(52.7%, 54.3%, 0%, 26.3%)
CIE-LABlab(41.86, 29.65, -53.60)
CIE-LCHlch(41.86, 61.26, 298.95°)
OKLaboklab(51.07% 0.0288 -0.1532)
OKLCHoklch(51.07% 0.156 280.7)
XYZxyz(16.5219, 12.4093, 49.0918)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956BC #B9BC56
analogous
#5686BC #5956BC #8C56BC
triadic
#5956BC #BC5956 #56BC59
tetradic
#5956BC #BC5686 #B9BC56 #56BC8C
square
#5956BC #BC5686 #B9BC56 #56BC8C
split-complementary
#5956BC #BC8C56 #86BC56
monochromatic
#2D2B6D #3F3C98 #5956BC #8482CD #AFAEDF

Accessibility & contrast

On white

6.03
#5956BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5956BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956BC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956BC#FFFFFF#000000##FFFFFF
##5956BC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#2F6D80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5956bc;
/* rgb */ color: rgb(89, 86, 188);
/* oklch */ color: oklch(51.1% 0.156 280.7);
Tailwind
colors: {
  custom: {
    50: '#8f85d1',
    500: '#5956bc',
    950: '#000000',
  },
}
SCSS
$custom: #5956bc;
$custom-light: #8f85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5956bc",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 241.765,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.1559,
    "h": 280.7
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#5956BC
secondary
#CBCDA1
accent
#D355CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5956BC

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

Preview Lab → · Contrast checker → · Palette generator →

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