#6C87F2#6C87F2

#6C87F2 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.162 H 270.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6C87F2
RGBrgb(108, 135, 242)
HSLhsl(228, 84%, 69%)
HSVhsv(228, 55%, 95%)
CMYKcmyk(55.4%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.90, 20.83, -56.84)
CIE-LCHlch(58.90, 60.53, 290.13°)
OKLaboklab(65.33% 0.002 -0.1618)
OKLCHoklch(65.33% 0.162 270.7)
XYZxyz(30.8700, 26.9246, 87.5574)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87F2 #F2D76C
analogous
#6CCAF2 #6C87F2 #946CF2
triadic
#6C87F2 #F26C87 #87F26C
tetradic
#6C87F2 #F26CCA #F2D76C #6CF294
square
#6C87F2 #F26CCA #F2D76C #6CF294
split-complementary
#6C87F2 #F2946C #CAF26C
monochromatic
#1239D1 #3459ED #6C87F2 #A4B5F7 #DCE3FC

Accessibility & contrast

On white

3.29
#6C87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#6C87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87F2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87F2#FFFFFF#000000##000000
##6C87F21.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#4688F0
Tritanopia (blue-blind)
#1B9FB1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6c87f2;
/* rgb */ color: rgb(108, 135, 242);
/* oklch */ color: oklch(65.3% 0.162 270.7);
Tailwind
colors: {
  custom: {
    50: '#9fa9f7',
    500: '#6c87f2',
    950: '#000000',
  },
}
SCSS
$custom: #6c87f2;
$custom-light: #9fa9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87f2",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 227.91,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65335,
    "c": 0.16183,
    "h": 270.7
  },
  "luminance": 0.26927
}

Semantic roles & 50–950 ramp

primary
#6C87F2
secondary
#F1E9C9
accent
#B405E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6C87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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