#6C87FC#6C87FC

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

Color values

HEX#6C87FC
RGBrgb(108, 135, 252)
HSLhsl(229, 96%, 71%)
HSVhsv(229, 57%, 99%)
CMYKcmyk(57.1%, 46.4%, 0%, 1.2%)
CIE-LABlab(59.47, 24.01, -61.44)
CIE-LCHlch(59.47, 65.97, 291.35°)
OKLaboklab(65.95% 0.0034 -0.1753)
OKLCHoklch(65.95% 0.175 271.1)
XYZxyz(32.4132, 27.5419, 95.6846)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87FC #FCE16C
analogous
#6CCFFC #6C87FC #996CFC
triadic
#6C87FC #FC6C87 #87FC6C
tetradic
#6C87FC #FC6CCF #FCE16C #6CFC99
square
#6C87FC #FC6CCF #FCE16C #6CFC99
split-complementary
#6C87FC #FC996C #CFFC6C
monochromatic
#0530E9 #3056FB #6C87FC #A8B8FD #E1E7FE

Accessibility & contrast

On white

3.23
#6C87FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#6C87FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87FC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87FC#FFFFFF#000000##000000
##6C87FC1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#3A89FA
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6c87fc;
/* rgb */ color: rgb(108, 135, 252);
/* oklch */ color: oklch(66.0% 0.175 271.1);
Tailwind
colors: {
  custom: {
    50: '#a1a9fe',
    500: '#6c87fc',
    950: '#000000',
  },
}
SCSS
$custom: #6c87fc;
$custom-light: #a1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87fc",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 228.75,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65952,
    "c": 0.17538,
    "h": 271.1
  },
  "luminance": 0.27544
}

Semantic roles & 50–950 ramp

primary
#6C87FC
secondary
#F5EECE
accent
#BA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6C87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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