#5955BB#5955BB

#5955BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.156 H 281.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5955BB
RGBrgb(89, 85, 187)
HSLhsl(242, 43%, 53%)
HSVhsv(242, 55%, 73%)
CMYKcmyk(52.4%, 54.5%, 0%, 26.7%)
CIE-LABlab(41.54, 29.96, -53.53)
CIE-LCHlch(41.54, 61.34, 299.23°)
OKLaboklab(50.81% 0.0299 -0.153)
OKLCHoklch(50.81% 0.156 281.1)
XYZxyz(16.3352, 12.2078, 48.4996)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955BB #B7BB55
analogous
#5584BB #5955BB #8C55BB
triadic
#5955BB #BB5955 #55BB59
tetradic
#5955BB #BB5584 #B7BB55 #55BB8C
square
#5955BB #BB5584 #B7BB55 #55BB8C
split-complementary
#5955BB #BB8C55 #84BB55
monochromatic
#2D2B6B #403C97 #5955BB #8481CC #AEACDE

Accessibility & contrast

On white

6.10
#5955BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5955BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955BB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955BB#FFFFFF#000000##FFFFFF
##5955BB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#306C80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5955bb;
/* rgb */ color: rgb(89, 85, 187);
/* oklch */ color: oklch(50.8% 0.156 281.1);
Tailwind
colors: {
  custom: {
    50: '#8f85d0',
    500: '#5955bb',
    950: '#000000',
  },
}
SCSS
$custom: #5955bb;
$custom-light: #8f85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5955bb",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 242.353,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50811,
    "c": 0.15589,
    "h": 281.1
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#5955BB
secondary
#CACCA0
accent
#D355CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5955BB

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

Preview Lab → · Contrast checker → · Palette generator →

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