#5C87EA#5C87EA

#5C87EA is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.0% C 0.156 H 264.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5C87EA
RGBrgb(92, 135, 234)
HSLhsl(222, 77%, 64%)
HSVhsv(222, 61%, 92%)
CMYKcmyk(60.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.60, 15.15, -54.54)
CIE-LCHlch(57.60, 56.60, 285.53°)
OKLaboklab(63.96% -0.0144 -0.1554)
OKLCHoklch(63.96% 0.156 264.7)
XYZxyz(27.9238, 25.5413, 81.2844)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87EA #EABF5C
analogous
#5CCEEA #5C87EA #785CEA
triadic
#5C87EA #EA5C87 #87EA5C
tetradic
#5C87EA #EA5CCE #EABF5C #5CEA78
square
#5C87EA #EA5CCE #EABF5C #5CEA78
split-complementary
#5C87EA #EA785C #CEEA5C
monochromatic
#1747B4 #265FE3 #5C87EA #92AFF1 #C8D7F8

Accessibility & contrast

On white

3.44
#5C87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5C87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87EA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87EA#FFFFFF#000000##000000
##5C87EA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5c87ea;
/* rgb */ color: rgb(92, 135, 234);
/* oklch */ color: oklch(64.0% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#96a9f1',
    500: '#5c87ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c87ea;
$custom-light: #96a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87ea",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 221.831,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63961,
    "c": 0.15605,
    "h": 264.7
  },
  "luminance": 0.25544
}

Semantic roles & 50–950 ramp

primary
#5C87EA
secondary
#EADBB8
accent
#9B0CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5C87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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