#6C87FD#6C87FD

#6C87FD is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.0% C 0.177 H 271.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6C87FD
RGBrgb(108, 135, 253)
HSLhsl(229, 97%, 71%)
HSVhsv(229, 57%, 99%)
CMYKcmyk(57.3%, 46.6%, 0%, 0.8%)
CIE-LABlab(59.53, 24.33, -61.90)
CIE-LCHlch(59.53, 66.51, 291.46°)
OKLaboklab(66.02% 0.0035 -0.1767)
OKLCHoklch(66.02% 0.177 271.1)
XYZxyz(32.5721, 27.6054, 96.5214)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87FD #FDE26C
analogous
#6CCFFD #6C87FD #9A6CFD
triadic
#6C87FD #FD6C87 #87FD6C
tetradic
#6C87FD #FD6CCF #FDE26C #6CFD9A
square
#6C87FD #FD6CCF #FDE26C #6CFD9A
split-complementary
#6C87FD #FD9A6C #CFFD6C
monochromatic
#032EEB #3056FC #6C87FD #A8B8FE #E1E6FF

Accessibility & contrast

On white

3.22
#6C87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#6C87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87FD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87FD#FFFFFF#000000##000000
##6C87FD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#3889FA
Tritanopia (blue-blind)
#00A1B6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6c87fd;
/* rgb */ color: rgb(108, 135, 253);
/* oklch */ color: oklch(66.0% 0.177 271.1);
Tailwind
colors: {
  custom: {
    50: '#a1a9ff',
    500: '#6c87fd',
    950: '#000000',
  },
}
SCSS
$custom: #6c87fd;
$custom-light: #a1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87fd",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 228.828,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66015,
    "c": 0.17673,
    "h": 271.1
  },
  "luminance": 0.27608
}

Semantic roles & 50–950 ramp

primary
#6C87FD
secondary
#F6EFCF
accent
#BB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6C87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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