#6C87EF#6C87EF

#6C87EF is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.2% C 0.158 H 270.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6C87EF
RGBrgb(108, 135, 239)
HSLhsl(228, 80%, 68%)
HSVhsv(228, 55%, 94%)
CMYKcmyk(54.8%, 43.5%, 0%, 6.3%)
CIE-LABlab(58.74, 19.88, -55.44)
CIE-LCHlch(58.74, 58.90, 289.72°)
OKLaboklab(65.15% 0.0016 -0.1577)
OKLCHoklch(65.15% 0.158 270.6)
XYZxyz(30.4232, 26.7459, 85.2039)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87EF #EFD46C
analogous
#6CC8EF #6C87EF #936CEF
triadic
#6C87EF #EF6C87 #87EF6C
tetradic
#6C87EF #EF6CC8 #EFD46C #6CEF93
square
#6C87EF #EF6CC8 #EFD46C #6CEF93
split-complementary
#6C87EF #EF936C #C8EF6C
monochromatic
#163BCB #355AE9 #6C87EF #A3B4F5 #DAE1FB

Accessibility & contrast

On white

3.31
#6C87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#6C87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87EF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87EF#FFFFFF#000000##000000
##6C87EF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#4988ED
Tritanopia (blue-blind)
#219EAF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6c87ef;
/* rgb */ color: rgb(108, 135, 239);
/* oklch */ color: oklch(65.2% 0.158 270.6);
Tailwind
colors: {
  custom: {
    50: '#9fa9f5',
    500: '#6c87ef',
    950: '#000000',
  },
}
SCSS
$custom: #6c87ef;
$custom-light: #9fa9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87ef",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 227.634,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65154,
    "c": 0.15774,
    "h": 270.6
  },
  "luminance": 0.26748
}

Semantic roles & 50–950 ramp

primary
#6C87EF
secondary
#EFE7C7
accent
#B109DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6C87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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