#5A55BC#5A55BC

#5A55BC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.157 H 281.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5A55BC
RGBrgb(90, 85, 188)
HSLhsl(243, 43%, 54%)
HSVhsv(243, 55%, 74%)
CMYKcmyk(52.1%, 54.8%, 0%, 26.3%)
CIE-LABlab(41.69, 30.48, -53.87)
CIE-LCHlch(41.69, 61.90, 299.50°)
OKLaboklab(50.96% 0.0312 -0.154)
OKLCHoklch(50.96% 0.157 281.4)
XYZxyz(16.5393, 12.3006, 49.0699)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55BC #B7BC55
analogous
#5583BC #5A55BC #8D55BC
triadic
#5A55BC #BC5A55 #55BC5A
tetradic
#5A55BC #BC5583 #B7BC55 #55BC8D
square
#5A55BC #BC5583 #B7BC55 #55BC8D
split-complementary
#5A55BC #BC8D55 #83BC55
monochromatic
#2E2B6C #403C98 #5A55BC #8581CD #AFADDF

Accessibility & contrast

On white

6.07
#5A55BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A55BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55BC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55BC#FFFFFF#000000##FFFFFF
##5A55BC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#045FBA
Tritanopia (blue-blind)
#326C80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a55bc;
/* rgb */ color: rgb(90, 85, 188);
/* oklch */ color: oklch(51.0% 0.157 281.4);
Tailwind
colors: {
  custom: {
    50: '#9085d1',
    500: '#5a55bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a55bc;
$custom-light: #9085d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55bc",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 242.913,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.1571,
    "h": 281.4
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#5A55BC
secondary
#CACCA0
accent
#D355CD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5A55BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5A55BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva