#5955BF#5955BF

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

Color values

HEX#5955BF
RGBrgb(89, 85, 191)
HSLhsl(242, 45%, 54%)
HSVhsv(242, 55%, 75%)
CMYKcmyk(53.4%, 55.5%, 0%, 25.1%)
CIE-LABlab(41.82, 31.23, -55.42)
CIE-LCHlch(41.82, 63.61, 299.40°)
OKLaboklab(51.1% 0.03 -0.1586)
OKLCHoklch(51.1% 0.161 280.7)
XYZxyz(16.7694, 12.3814, 50.7863)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955BF #BBBF55
analogous
#5586BF #5955BF #8E55BF
triadic
#5955BF #BF5955 #55BF59
tetradic
#5955BF #BF5586 #BBBF55 #55BF8E
square
#5955BF #BF5586 #BBBF55 #55BF8E
split-complementary
#5955BF #BF8E55 #86BF55
monochromatic
#2D2A70 #3E3B9C #5955BF #8481D0 #B0AEE0

Accessibility & contrast

On white

6.04
#5955BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5955BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955BF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955BF#FFFFFF#000000##FFFFFF
##5955BF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#2C6D82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5955bf;
/* rgb */ color: rgb(89, 85, 191);
/* oklch */ color: oklch(51.1% 0.161 280.7);
Tailwind
colors: {
  custom: {
    50: '#9085d3',
    500: '#5955bf',
    950: '#000000',
  },
}
SCSS
$custom: #5955bf;
$custom-light: #9085d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5955bf",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 242.264,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.511,
    "c": 0.16139,
    "h": 280.7
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#5955BF
secondary
#CDCEA1
accent
#D553D0
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5955BF

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

Preview Lab → · Contrast checker → · Palette generator →

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