#5551EC#5551EC

#5551EC is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.225 H 276.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5551EC
RGBrgb(85, 81, 236)
HSLhsl(242, 80%, 62%)
HSVhsv(242, 66%, 93%)
CMYKcmyk(64%, 65.7%, 0%, 7.5%)
CIE-LABlab(44.05, 47.35, -77.59)
CIE-LCHlch(44.05, 90.90, 301.39°)
OKLaboklab(53.74% 0.0267 -0.2238)
OKLCHoklch(53.74% 0.225 276.8)
XYZxyz(21.8241, 13.8705, 80.8678)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5551EC #E8EC51
analogous
#519BEC #5551EC #A251EC
triadic
#5551EC #EC5551 #51EC55
tetradic
#5551EC #EC519B #E8EC51 #51ECA2
square
#5551EC #EC519B #E8EC51 #51ECA2
split-complementary
#5551EC #ECA251 #9BEC51
monochromatic
#1713AF #1F1AE6 #5551EC #8B88F2 #C1BFF8

Accessibility & contrast

On white

5.56
#5551EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5551EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5551EC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5551EC#FFFFFF#000000##FFFFFF
##5551EC1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0061E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5551ec;
/* rgb */ color: rgb(85, 81, 236);
/* oklch */ color: oklch(53.7% 0.225 276.8);
Tailwind
colors: {
  custom: {
    50: '#9583f3',
    500: '#5551ec',
    950: '#000000',
  },
}
SCSS
$custom: #5551ec;
$custom-light: #9583f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5551ec",
  "rgb": {
    "r": 85,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 241.548,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.22541,
    "h": 276.8
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#5551EC
secondary
#E7E9B0
accent
#DD09D7
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5551EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5551EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva