#5A55CA#5A55CA

#5A55CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.176 H 280.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5A55CA
RGBrgb(90, 85, 202)
HSLhsl(243, 52%, 56%)
HSVhsv(243, 58%, 79%)
CMYKcmyk(55.4%, 57.9%, 0%, 20.8%)
CIE-LABlab(42.66, 34.92, -60.43)
CIE-LCHlch(42.66, 69.79, 300.02°)
OKLaboklab(51.99% 0.0313 -0.1733)
OKLCHoklch(51.99% 0.176 280.2)
XYZxyz(18.1223, 12.9338, 57.4072)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55CA #C5CA55
analogous
#558BCA #5A55CA #9555CA
triadic
#5A55CA #CA5A55 #55CA5A
tetradic
#5A55CA #CA558B #C5CA55 #55CA95
square
#5A55CA #CA558B #C5CA55 #55CA95
split-complementary
#5A55CA #CA9555 #8BCA55
monochromatic
#2B277D #3B36AC #5A55CA #8784D9 #B5B2E7

Accessibility & contrast

On white

5.85
#5A55CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5A55CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55CA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55CA#FFFFFF#000000##FFFFFF
##5A55CA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#227187
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a55ca;
/* rgb */ color: rgb(90, 85, 202);
/* oklch */ color: oklch(52.0% 0.176 280.2);
Tailwind
colors: {
  custom: {
    50: '#9285db',
    500: '#5a55ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a55ca;
$custom-light: #9285db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55ca",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 242.564,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.17608,
    "h": 280.2
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#5A55CA
secondary
#D3D5A5
accent
#DC4CD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5A55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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