#6C87F8#6C87F8

#6C87F8 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.7% C 0.170 H 271.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6C87F8
RGBrgb(108, 135, 248)
HSLhsl(228, 91%, 70%)
HSVhsv(228, 56%, 97%)
CMYKcmyk(56.5%, 45.6%, 0%, 2.7%)
CIE-LABlab(59.24, 22.74, -59.61)
CIE-LCHlch(59.24, 63.80, 290.88°)
OKLaboklab(65.7% 0.0029 -0.17)
OKLCHoklch(65.7% 0.17 271)
XYZxyz(31.7860, 27.2910, 92.3814)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87F8 #F8DD6C
analogous
#6CCDF8 #6C87F8 #976CF8
triadic
#6C87F8 #F86C87 #87F86C
tetradic
#6C87F8 #F86CCD #F8DD6C #6CF897
square
#6C87F8 #F86CCD #F8DD6C #6CF897
split-complementary
#6C87F8 #F8976C #CDF86C
monochromatic
#0B34DF #3257F5 #6C87F8 #A6B7FB #E1E6FE

Accessibility & contrast

On white

3.25
#6C87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#6C87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87F8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87F8#FFFFFF#000000##000000
##6C87F81.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#3F89F6
Tritanopia (blue-blind)
#06A0B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6c87f8;
/* rgb */ color: rgb(108, 135, 248);
/* oklch */ color: oklch(65.7% 0.170 271.0);
Tailwind
colors: {
  custom: {
    50: '#a0a9fb',
    500: '#6c87f8',
    950: '#000000',
  },
}
SCSS
$custom: #6c87f8;
$custom-light: #a0a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87f8",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 228.429,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65703,
    "c": 0.16998,
    "h": 271
  },
  "luminance": 0.27293
}

Semantic roles & 50–950 ramp

primary
#6C87F8
secondary
#F4ECCC
accent
#B900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6C87F8

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

Preview Lab → · Contrast checker → · Palette generator →

#6C87F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva