#5955C8#5955C8

#5955C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.174 H 280.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5955C8
RGBrgb(89, 85, 200)
HSLhsl(242, 51%, 56%)
HSVhsv(242, 58%, 78%)
CMYKcmyk(55.5%, 57.5%, 0%, 21.6%)
CIE-LABlab(42.44, 34.10, -59.63)
CIE-LCHlch(42.44, 68.69, 299.76°)
OKLaboklab(51.77% 0.0301 -0.1709)
OKLCHoklch(51.77% 0.174 280)
XYZxyz(17.7904, 12.7898, 56.1636)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955C8 #C4C855
analogous
#558AC8 #5955C8 #9255C8
triadic
#5955C8 #C85955 #55C859
tetradic
#5955C8 #C8558A #C4C855 #55C892
square
#5955C8 #C8558A #C4C855 #55C892
split-complementary
#5955C8 #C89255 #8AC855
monochromatic
#2B287B #3B37A9 #5955C8 #8683D7 #B3B1E6

Accessibility & contrast

On white

5.90
#5955C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5955C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955C8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955C8#FFFFFF#000000##FFFFFF
##5955C81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#217086
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5955c8;
/* rgb */ color: rgb(89, 85, 200);
/* oklch */ color: oklch(51.8% 0.174 280.0);
Tailwind
colors: {
  custom: {
    50: '#9185d9',
    500: '#5955c8',
    950: '#000000',
  },
}
SCSS
$custom: #5955c8;
$custom-light: #9185d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5955c8",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 242.087,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.17358,
    "h": 280
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#5955C8
secondary
#D3D4A5
accent
#DB4DD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5955C8

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

Preview Lab → · Contrast checker → · Palette generator →

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