#5551CE#5551CE

#5551CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.187 H 278.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5551CE
RGBrgb(85, 81, 206)
HSLhsl(242, 56%, 56%)
HSVhsv(242, 61%, 81%)
CMYKcmyk(58.7%, 60.7%, 0%, 19.2%)
CIE-LABlab(41.64, 37.74, -64.41)
CIE-LCHlch(41.64, 74.65, 300.37°)
OKLaboklab(51.24% 0.029 -0.1851)
OKLCHoklch(51.24% 0.187 278.9)
XYZxyz(17.8258, 12.2711, 59.8098)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5551CE #CACE51
analogous
#518CCE #5551CE #9451CE
triadic
#5551CE #CE5551 #51CE55
tetradic
#5551CE #CE518C #CACE51 #51CE94
square
#5551CE #CE518C #CACE51 #51CE94
split-complementary
#5551CE #CE9451 #8CCE51
monochromatic
#272480 #3632B0 #5551CE #8481DB #B2B1E9

Accessibility & contrast

On white

6.08
#5551CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5551CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5551CE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5551CE#FFFFFF#000000##FFFFFF
##5551CE1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5551ce;
/* rgb */ color: rgb(85, 81, 206);
/* oklch */ color: oklch(51.2% 0.187 278.9);
Tailwind
colors: {
  custom: {
    50: '#9082de',
    500: '#5551ce',
    950: '#000000',
  },
}
SCSS
$custom: #5551ce;
$custom-light: #9082de;
$custom-dark: #000000;
JSON
{
  "hex": "#5551ce",
  "rgb": {
    "r": 85,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 241.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.1874,
    "h": 278.9
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#5551CE
secondary
#D5D7A4
accent
#DF48DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5551CE

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

Preview Lab → · Contrast checker → · Palette generator →

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