#5A55CD#5A55CD

#5A55CD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.180 H 280.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5A55CD
RGBrgb(90, 85, 205)
HSLhsl(243, 55%, 57%)
HSVhsv(243, 59%, 80%)
CMYKcmyk(56.1%, 58.5%, 0%, 19.6%)
CIE-LABlab(42.88, 35.88, -61.81)
CIE-LCHlch(42.88, 71.47, 300.13°)
OKLaboklab(52.22% 0.0313 -0.1773)
OKLCHoklch(52.22% 0.18 280)
XYZxyz(18.4809, 13.0772, 59.2961)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55CD #C8CD55
analogous
#558CCD #5A55CD #9655CD
triadic
#5A55CD #CD5A55 #55CD5A
tetradic
#5A55CD #CD558C #C8CD55 #55CD96
square
#5A55CD #CD558C #C8CD55 #55CD96
split-complementary
#5A55CD #CD9655 #8CCD55
monochromatic
#2A2682 #3934B1 #5A55CD #8884DB #B6B4E9

Accessibility & contrast

On white

5.81
#5A55CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5A55CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55CD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55CD#FFFFFF#000000##FFFFFF
##5A55CD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#1D7189
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a55cd;
/* rgb */ color: rgb(90, 85, 205);
/* oklch */ color: oklch(52.2% 0.180 280.0);
Tailwind
colors: {
  custom: {
    50: '#9385dd',
    500: '#5a55cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a55cd;
$custom-light: #9385dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55cd",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 242.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.18007,
    "h": 280
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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