#5955BC#5955BC

#5955BC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.157 H 281.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5955BC
RGBrgb(89, 85, 188)
HSLhsl(242, 43%, 54%)
HSVhsv(242, 55%, 74%)
CMYKcmyk(52.7%, 54.8%, 0%, 26.3%)
CIE-LABlab(41.61, 30.27, -54.00)
CIE-LCHlch(41.61, 61.91, 299.27°)
OKLaboklab(50.88% 0.0299 -0.1544)
OKLCHoklch(50.88% 0.157 281)
XYZxyz(16.4426, 12.2507, 49.0654)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955BC #B8BC55
analogous
#5584BC #5955BC #8C55BC
triadic
#5955BC #BC5955 #55BC59
tetradic
#5955BC #BC5584 #B8BC55 #55BC8C
square
#5955BC #BC5584 #B8BC55 #55BC8C
split-complementary
#5955BC #BC8C55 #84BC55
monochromatic
#2D2B6C #3F3C98 #5955BC #8481CD #AFADDF

Accessibility & contrast

On white

6.09
#5955BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5955BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955BC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955BC#FFFFFF#000000##FFFFFF
##5955BC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#015EBA
Tritanopia (blue-blind)
#2F6C80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5955bc;
/* rgb */ color: rgb(89, 85, 188);
/* oklch */ color: oklch(50.9% 0.157 281.0);
Tailwind
colors: {
  custom: {
    50: '#8f85d1',
    500: '#5955bc',
    950: '#000000',
  },
}
SCSS
$custom: #5955bc;
$custom-light: #8f85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5955bc",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 242.33,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.15727,
    "h": 281
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#5955BC
secondary
#CBCCA0
accent
#D355CE
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5955BC

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

Preview Lab → · Contrast checker → · Palette generator →

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