#5C87EE#5C87EE

#5C87EE is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.161 H 265.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5C87EE
RGBrgb(92, 135, 238)
HSLhsl(222, 81%, 65%)
HSVhsv(222, 61%, 93%)
CMYKcmyk(61.3%, 43.3%, 0%, 6.7%)
CIE-LABlab(57.82, 16.48, -56.40)
CIE-LCHlch(57.82, 58.76, 286.29°)
OKLaboklab(64.2% -0.0137 -0.1609)
OKLCHoklch(64.2% 0.161 265.1)
XYZxyz(28.5049, 25.7738, 84.3450)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87EE #EEC35C
analogous
#5CD0EE #5C87EE #7A5CEE
triadic
#5C87EE #EE5C87 #87EE5C
tetradic
#5C87EE #EE5CD0 #EEC35C #5CEE7A
square
#5C87EE #EE5CD0 #EEC35C #5CEE7A
split-complementary
#5C87EE #EE7A5C #D0EE5C
monochromatic
#1445BC #255EE8 #5C87EE #93B0F4 #CBD9FA

Accessibility & contrast

On white

3.41
#5C87EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5C87EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87EE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87EE#FFFFFF#000000##000000
##5C87EE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5c87ee;
/* rgb */ color: rgb(92, 135, 238);
/* oklch */ color: oklch(64.2% 0.161 265.1);
Tailwind
colors: {
  custom: {
    50: '#96a9f4',
    500: '#5c87ee',
    950: '#000000',
  },
}
SCSS
$custom: #5c87ee;
$custom-light: #96a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87ee",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 222.329,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64204,
    "c": 0.16144,
    "h": 265.1
  },
  "luminance": 0.25776
}

Semantic roles & 50–950 ramp

primary
#5C87EE
secondary
#ECDDBA
accent
#9F08DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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