#6C87FA#6C87FA

#6C87FA is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.8% C 0.173 H 271.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6C87FA
RGBrgb(108, 135, 250)
HSLhsl(229, 93%, 70%)
HSVhsv(229, 57%, 98%)
CMYKcmyk(56.8%, 46%, 0%, 2%)
CIE-LABlab(59.36, 23.37, -60.53)
CIE-LCHlch(59.36, 64.88, 291.12°)
OKLaboklab(65.83% 0.0032 -0.1727)
OKLCHoklch(65.83% 0.173 271)
XYZxyz(32.0979, 27.4158, 94.0243)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87FA #FADF6C
analogous
#6CCEFA #6C87FA #986CFA
triadic
#6C87FA #FA6C87 #87FA6C
tetradic
#6C87FA #FA6CCE #FADF6C #6CFA98
square
#6C87FA #FA6CCE #FADF6C #6CFA98
split-complementary
#6C87FA #FA986C #CEFA6C
monochromatic
#0832E4 #3157F8 #6C87FA #A7B7FC #E1E7FE

Accessibility & contrast

On white

3.24
#6C87FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#6C87FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87FA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87FA#FFFFFF#000000##000000
##6C87FA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FE
Deuteranopia (green-blind)
#3C89F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6c87fa;
/* rgb */ color: rgb(108, 135, 250);
/* oklch */ color: oklch(65.8% 0.173 271.0);
Tailwind
colors: {
  custom: {
    50: '#a0a9fc',
    500: '#6c87fa',
    950: '#000000',
  },
}
SCSS
$custom: #6c87fa;
$custom-light: #a0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87fa",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 228.592,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65827,
    "c": 0.17269,
    "h": 271
  },
  "luminance": 0.27418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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