#5555EA#5555EA

#5555EA is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.218 H 276.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5555EA
RGBrgb(85, 85, 234)
HSLhsl(240, 78%, 63%)
HSVhsv(240, 64%, 92%)
CMYKcmyk(63.7%, 63.7%, 0%, 8.2%)
CIE-LABlab(44.75, 44.38, -75.31)
CIE-LCHlch(44.75, 87.41, 300.51°)
OKLaboklab(54.2% 0.0239 -0.2171)
OKLCHoklch(54.2% 0.218 276.3)
XYZxyz(21.8412, 14.3670, 79.4481)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5555EA #EAEA55
analogous
#559FEA #5555EA #9F55EA
triadic
#5555EA #EA5555 #55EA55
tetradic
#5555EA #EA559F #EAEA55 #55EA9F
square
#5555EA #EA559F #EAEA55 #55EA9F
split-complementary
#5555EA #EA9F55 #9FEA55
monochromatic
#1616AF #1F1FE3 #5555EA #8B8BF1 #C2C2F7

Accessibility & contrast

On white

5.42
#5555EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5555EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5555EA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5555EA#FFFFFF#000000##FFFFFF
##5555EA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5555ea;
/* rgb */ color: rgb(85, 85, 234);
/* oklch */ color: oklch(54.2% 0.218 276.3);
Tailwind
colors: {
  custom: {
    50: '#9585f2',
    500: '#5555ea',
    950: '#000000',
  },
}
SCSS
$custom: #5555ea;
$custom-light: #9585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5555ea",
  "rgb": {
    "r": 85,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.21843,
    "h": 276.3
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#5555EA
secondary
#E8E8B2
accent
#DA0BDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5555EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5555EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva