#6C87EC#6C87EC

#6C87EC is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.154 H 270.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6C87EC
RGBrgb(108, 135, 236)
HSLhsl(227, 77%, 67%)
HSVhsv(227, 54%, 93%)
CMYKcmyk(54.2%, 42.8%, 0%, 7.5%)
CIE-LABlab(58.57, 18.93, -54.04)
CIE-LCHlch(58.57, 57.26, 289.30°)
OKLaboklab(64.98% 0.0011 -0.1536)
OKLCHoklch(64.98% 0.154 270.4)
XYZxyz(29.9837, 26.5701, 82.8891)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87EC #ECD16C
analogous
#6CC7EC #6C87EC #916CEC
triadic
#6C87EC #EC6C87 #87EC6C
tetradic
#6C87EC #EC6CC7 #ECD16C #6CEC91
square
#6C87EC #EC6CC7 #ECD16C #6CEC91
split-complementary
#6C87EC #EC916C #C7EC6C
monochromatic
#193DC4 #365BE5 #6C87EC #A2B3F3 #D8DFFA

Accessibility & contrast

On white

3.33
#6C87EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#6C87EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87EC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87EC#FFFFFF#000000##000000
##6C87EC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#4C88EA
Tritanopia (blue-blind)
#269DAE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6c87ec;
/* rgb */ color: rgb(108, 135, 236);
/* oklch */ color: oklch(65.0% 0.154 270.4);
Tailwind
colors: {
  custom: {
    50: '#9ea9f3',
    500: '#6c87ec',
    950: '#000000',
  },
}
SCSS
$custom: #6c87ec;
$custom-light: #9ea9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87ec",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 227.344,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.15362,
    "h": 270.4
  },
  "luminance": 0.26572
}

Semantic roles & 50–950 ramp

primary
#6C87EC
secondary
#EEE5C6
accent
#AE0CD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6C87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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