#6C87DA#6C87DA

#6C87DA is a light, vivid blue. Relative luminance 0.256; OKLCH L 63.9% C 0.129 H 268.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6C87DA
RGBrgb(108, 135, 218)
HSLhsl(225, 60%, 64%)
HSVhsv(225, 50%, 85%)
CMYKcmyk(50.5%, 38.1%, 0%, 14.5%)
CIE-LABlab(57.63, 13.31, -45.50)
CIE-LCHlch(57.63, 47.41, 286.31°)
OKLaboklab(63.94% -0.0024 -0.1286)
OKLCHoklch(63.94% 0.129 268.9)
XYZxyz(27.4991, 25.5762, 69.8037)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87DA #DABF6C
analogous
#6CBEDA #6C87DA #886CDA
triadic
#6C87DA #DA6C87 #87DA6C
tetradic
#6C87DA #DA6CBE #DABF6C #6CDA88
square
#6C87DA #DA6CBE #DABF6C #6CDA88
split-complementary
#6C87DA #DA886C #BEDA6C
monochromatic
#2947A3 #3B5FCE #6C87DA #9DAFE6 #CED7F3

Accessibility & contrast

On white

3.43
#6C87DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#6C87DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87DA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87DA#FFFFFF#000000##000000
##6C87DA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DD
Deuteranopia (green-blind)
#5B86D8
Tritanopia (blue-blind)
#3B99A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6c87da;
/* rgb */ color: rgb(108, 135, 218);
/* oklch */ color: oklch(63.9% 0.129 268.9);
Tailwind
colors: {
  custom: {
    50: '#9ca9e6',
    500: '#6c87da',
    950: '#000000',
  },
}
SCSS
$custom: #6c87da;
$custom-light: #9ca9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87da",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 225.273,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63945,
    "c": 0.12864,
    "h": 268.9
  },
  "luminance": 0.25578
}

Semantic roles & 50–950 ramp

primary
#6C87DA
secondary
#E4DBBE
accent
#9E1EC7
background
#FAFAFE
surface
#F3F4FC
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6C87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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