#5A55CC#5A55CC

#5A55CC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.179 H 280.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5A55CC
RGBrgb(90, 85, 204)
HSLhsl(243, 54%, 57%)
HSVhsv(243, 58%, 80%)
CMYKcmyk(55.9%, 58.3%, 0%, 20%)
CIE-LABlab(42.81, 35.56, -61.35)
CIE-LCHlch(42.81, 70.91, 300.10°)
OKLaboklab(52.14% 0.0313 -0.176)
OKLCHoklch(52.14% 0.179 280.1)
XYZxyz(18.3606, 13.0291, 58.6624)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55CC #C7CC55
analogous
#558CCC #5A55CC #9655CC
triadic
#5A55CC #CC5A55 #55CC5A
tetradic
#5A55CC #CC558C #C7CC55 #55CC96
square
#5A55CC #CC558C #C7CC55 #55CC96
split-complementary
#5A55CC #CC9655 #8CCC55
monochromatic
#2A2680 #3A35AF #5A55CC #8884DA #B5B3E8

Accessibility & contrast

On white

5.82
#5A55CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5A55CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55CC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55CC#FFFFFF#000000##FFFFFF
##5A55CC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#1F7188
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a55cc;
/* rgb */ color: rgb(90, 85, 204);
/* oklch */ color: oklch(52.1% 0.179 280.1);
Tailwind
colors: {
  custom: {
    50: '#9285dc',
    500: '#5a55cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a55cc;
$custom-light: #9285dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55cc",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 242.521,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.17874,
    "h": 280.1
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#5A55CC
secondary
#D5D7A6
accent
#DD4BD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5A55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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