#5551EB#5551EB

#5551EB is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.224 H 276.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5551EB
RGBrgb(85, 81, 235)
HSLhsl(242, 79%, 62%)
HSVhsv(242, 66%, 92%)
CMYKcmyk(63.8%, 65.5%, 0%, 7.8%)
CIE-LABlab(43.96, 47.04, -77.17)
CIE-LCHlch(43.96, 90.37, 301.36°)
OKLaboklab(53.65% 0.0268 -0.2226)
OKLCHoklch(53.65% 0.224 276.9)
XYZxyz(21.6793, 13.8125, 80.1048)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5551EB #E7EB51
analogous
#519AEB #5551EB #A251EB
triadic
#5551EB #EB5551 #51EB55
tetradic
#5551EB #EB519A #E7EB51 #51EBA2
square
#5551EB #EB519A #E7EB51 #51EBA2
split-complementary
#5551EB #EBA251 #9AEB51
monochromatic
#1814AE #201AE5 #5551EB #8B88F1 #C0BFF8

Accessibility & contrast

On white

5.58
#5551EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5551EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5551EB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5551EB#FFFFFF#000000##FFFFFF
##5551EB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5551eb;
/* rgb */ color: rgb(85, 81, 235);
/* oklch */ color: oklch(53.7% 0.224 276.9);
Tailwind
colors: {
  custom: {
    50: '#9583f3',
    500: '#5551eb',
    950: '#000000',
  },
}
SCSS
$custom: #5551eb;
$custom-light: #9583f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5551eb",
  "rgb": {
    "r": 85,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 241.558,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.22418,
    "h": 276.9
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#5551EB
secondary
#E7E8B0
accent
#DC0AD6
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5551EB

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

Preview Lab → · Contrast checker → · Palette generator →

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