#5C87F2#5C87F2

#5C87F2 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.167 H 265.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5C87F2
RGBrgb(92, 135, 242)
HSLhsl(223, 85%, 65%)
HSVhsv(223, 62%, 95%)
CMYKcmyk(62%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.05, 17.82, -58.26)
CIE-LCHlch(58.05, 60.92, 287.01°)
OKLaboklab(64.45% -0.0131 -0.1663)
OKLCHoklch(64.45% 0.167 265.5)
XYZxyz(29.0991, 26.0115, 87.4744)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87F2 #F2C75C
analogous
#5CD2F2 #5C87F2 #7C5CF2
triadic
#5C87F2 #F25C87 #87F25C
tetradic
#5C87F2 #F25CD2 #F2C75C #5CF27C
square
#5C87F2 #F25CD2 #F2C75C #5CF27C
split-complementary
#5C87F2 #F27C5C #D2F25C
monochromatic
#1043C4 #235DED #5C87F2 #95B1F7 #CDDAFB

Accessibility & contrast

On white

3.39
#5C87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5C87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87F2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87F2#FFFFFF#000000##000000
##5C87F21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5c87f2;
/* rgb */ color: rgb(92, 135, 242);
/* oklch */ color: oklch(64.5% 0.167 265.5);
Tailwind
colors: {
  custom: {
    50: '#97a9f7',
    500: '#5c87f2',
    950: '#000000',
  },
}
SCSS
$custom: #5c87f2;
$custom-light: #97a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87f2",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 222.8,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64451,
    "c": 0.16681,
    "h": 265.5
  },
  "luminance": 0.26014
}

Semantic roles & 50–950 ramp

primary
#5C87F2
secondary
#EEE0BC
accent
#A204E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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