#5956BB#5956BB

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

Color values

HEX#5956BB
RGBrgb(89, 86, 187)
HSLhsl(242, 43%, 54%)
HSVhsv(242, 54%, 73%)
CMYKcmyk(52.4%, 54%, 0%, 26.7%)
CIE-LABlab(41.79, 29.34, -53.13)
CIE-LCHlch(41.79, 60.69, 298.91°)
OKLaboklab(51% 0.0288 -0.1518)
OKLCHoklch(51% 0.155 280.7)
XYZxyz(16.4145, 12.3663, 48.5261)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956BB #B8BB56
analogous
#5685BB #5956BB #8B56BB
triadic
#5956BB #BB5956 #56BB59
tetradic
#5956BB #BB5685 #B8BB56 #56BB8B
square
#5956BB #BB5685 #B8BB56 #56BB8B
split-complementary
#5956BB #BB8B56 #85BB56
monochromatic
#2D2B6B #3F3D97 #5956BB #8482CD #AFADDE

Accessibility & contrast

On white

6.05
#5956BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5956BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956BB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956BB#FFFFFF#000000##FFFFFF
##5956BB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#306D80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5956bb;
/* rgb */ color: rgb(89, 86, 187);
/* oklch */ color: oklch(51.0% 0.155 280.7);
Tailwind
colors: {
  custom: {
    50: '#8f85d0',
    500: '#5956bb',
    950: '#000000',
  },
}
SCSS
$custom: #5956bb;
$custom-light: #8f85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5956bb",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 241.782,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.15452,
    "h": 280.7
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#5956BB
secondary
#CBCCA1
accent
#D255CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5956BB

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

Preview Lab → · Contrast checker → · Palette generator →

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