#5955BD#5955BD

#5955BD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.159 H 280.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5955BD
RGBrgb(89, 85, 189)
HSLhsl(242, 44%, 54%)
HSVhsv(242, 55%, 74%)
CMYKcmyk(52.9%, 55%, 0%, 25.9%)
CIE-LABlab(41.68, 30.59, -54.48)
CIE-LCHlch(41.68, 62.48, 299.32°)
OKLaboklab(50.96% 0.03 -0.1558)
OKLCHoklch(50.96% 0.159 280.9)
XYZxyz(16.5508, 12.2940, 49.6351)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955BD #B9BD55
analogous
#5585BD #5955BD #8D55BD
triadic
#5955BD #BD5955 #55BD59
tetradic
#5955BD #BD5585 #B9BD55 #55BD8D
square
#5955BD #BD5585 #B9BD55 #55BD8D
split-complementary
#5955BD #BD8D55 #85BD55
monochromatic
#2D2A6D #3F3C99 #5955BD #8481CE #AFADDF

Accessibility & contrast

On white

6.07
#5955BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5955BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955BD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955BD#FFFFFF#000000##FFFFFF
##5955BD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C1
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#2E6D81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5955bd;
/* rgb */ color: rgb(89, 85, 189);
/* oklch */ color: oklch(51.0% 0.159 280.9);
Tailwind
colors: {
  custom: {
    50: '#9085d2',
    500: '#5955bd',
    950: '#000000',
  },
}
SCSS
$custom: #5955bd;
$custom-light: #9085d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5955bd",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 242.308,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.15865,
    "h": 280.9
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#5955BD
secondary
#CBCDA1
accent
#D454CF
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5955BD

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

Preview Lab → · Contrast checker → · Palette generator →

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