#5C87F3#5C87F3

#5C87F3 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.5% C 0.168 H 265.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5C87F3
RGBrgb(92, 135, 243)
HSLhsl(223, 86%, 66%)
HSVhsv(223, 62%, 95%)
CMYKcmyk(62.1%, 44.4%, 0%, 4.7%)
CIE-LABlab(58.10, 18.15, -58.72)
CIE-LCHlch(58.10, 61.46, 287.18°)
OKLaboklab(64.51% -0.0129 -0.1677)
OKLCHoklch(64.51% 0.168 265.6)
XYZxyz(29.2497, 26.0717, 88.2676)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87F3 #F3C85C
analogous
#5CD2F3 #5C87F3 #7C5CF3
triadic
#5C87F3 #F35C87 #87F35C
tetradic
#5C87F3 #F35CD2 #F3C85C #5CF37C
square
#5C87F3 #F35CD2 #F3C85C #5CF37C
split-complementary
#5C87F3 #F37C5C #D2F35C
monochromatic
#0F43C6 #235DEF #5C87F3 #95B1F7 #CEDBFB

Accessibility & contrast

On white

3.38
#5C87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5C87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87F3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87F3#FFFFFF#000000##000000
##5C87F31.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F7
Deuteranopia (green-blind)
#3B85F1
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5c87f3;
/* rgb */ color: rgb(92, 135, 243);
/* oklch */ color: oklch(64.5% 0.168 265.6);
Tailwind
colors: {
  custom: {
    50: '#97a9f8',
    500: '#5c87f3',
    950: '#000000',
  },
}
SCSS
$custom: #5c87f3;
$custom-light: #97a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87f3",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 222.914,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.16816,
    "h": 265.6
  },
  "luminance": 0.26074
}

Semantic roles & 50–950 ramp

primary
#5C87F3
secondary
#EFE0BC
accent
#A303E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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