#5A55CF#5A55CF

#5A55CF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.183 H 279.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5A55CF
RGBrgb(90, 85, 207)
HSLhsl(242, 56%, 57%)
HSVhsv(242, 59%, 81%)
CMYKcmyk(56.5%, 58.9%, 0%, 18.8%)
CIE-LABlab(43.02, 36.51, -62.72)
CIE-LCHlch(43.02, 72.58, 300.20°)
OKLaboklab(52.37% 0.0313 -0.18)
OKLCHoklch(52.37% 0.183 279.8)
XYZxyz(18.7239, 13.1744, 60.5756)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55CF #CACF55
analogous
#558DCF #5A55CF #9755CF
triadic
#5A55CF #CF5A55 #55CF5A
tetradic
#5A55CF #CF558D #CACF55 #55CF97
square
#5A55CF #CF558D #CACF55 #55CF97
split-complementary
#5A55CF #CF9755 #8DCF55
monochromatic
#292584 #3833B4 #5A55CF #8885DC #B7B4EA

Accessibility & contrast

On white

5.78
#5A55CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5A55CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55CF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55CF#FFFFFF#000000##FFFFFF
##5A55CF1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#19728A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a55cf;
/* rgb */ color: rgb(90, 85, 207);
/* oklch */ color: oklch(52.4% 0.183 279.8);
Tailwind
colors: {
  custom: {
    50: '#9385de',
    500: '#5a55cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a55cf;
$custom-light: #9385de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55cf",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 242.459,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52374,
    "c": 0.18271,
    "h": 279.8
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#5A55CF
secondary
#D7D9A7
accent
#DF49D9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5A55CF

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

Preview Lab → · Contrast checker → · Palette generator →

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