#5855AC#5855AC

#5855AC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.135 H 281.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5855AC
RGBrgb(88, 85, 172)
HSLhsl(242, 34%, 50%)
HSVhsv(242, 51%, 67%)
CMYKcmyk(48.8%, 50.6%, 0%, 32.5%)
CIE-LABlab(40.49, 25.00, -46.41)
CIE-LCHlch(40.49, 52.71, 298.31°)
OKLaboklab(49.69% 0.0277 -0.1321)
OKLCHoklch(49.69% 0.135 281.9)
XYZxyz(14.7172, 11.5495, 40.4755)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855AC #A9AC55
analogous
#557DAC #5855AC #8355AC
triadic
#5855AC #AC5855 #55AC58
tetradic
#5855AC #AC557D #A9AC55 #55AC83
square
#5855AC #AC557D #A9AC55 #55AC83
split-complementary
#5855AC #AC8355 #7DAC55
monochromatic
#2E2C5A #434084 #5855AC #807EC0 #A9A7D4

Accessibility & contrast

On white

6.34
#5855AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5855AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855AC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855AC#FFFFFF#000000##FFFFFF
##5855AC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#3A6878
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5855ac;
/* rgb */ color: rgb(88, 85, 172);
/* oklch */ color: oklch(49.7% 0.135 281.9);
Tailwind
colors: {
  custom: {
    50: '#8d85c5',
    500: '#5855ac',
    950: '#000000',
  },
}
SCSS
$custom: #5855ac;
$custom-light: #8d85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ac",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 242.069,
    "s": 34.387,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49691,
    "c": 0.13497,
    "h": 281.9
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#5855AC
secondary
#C0C29B
accent
#CA5DC7
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5855AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5855AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva