#6C87EA#6C87EA

#6C87EA is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.151 H 270.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6C87EA
RGBrgb(108, 135, 234)
HSLhsl(227, 75%, 67%)
HSVhsv(227, 54%, 92%)
CMYKcmyk(53.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(58.47, 18.30, -53.10)
CIE-LCHlch(58.47, 56.17, 289.01°)
OKLaboklab(64.86% 0.0007 -0.1509)
OKLCHoklch(64.86% 0.151 270.3)
XYZxyz(29.6947, 26.4545, 81.3674)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87EA #EACF6C
analogous
#6CC6EA #6C87EA #906CEA
triadic
#6C87EA #EA6C87 #87EA6C
tetradic
#6C87EA #EA6CC6 #EACF6C #6CEA90
square
#6C87EA #EA6CC6 #EACF6C #6CEA90
split-complementary
#6C87EA #EA906C #C6EA6C
monochromatic
#1B3FC0 #365BE2 #6C87EA #A2B3F2 #D7DEF9

Accessibility & contrast

On white

3.34
#6C87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#6C87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87EA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87EA#FFFFFF#000000##000000
##6C87EA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EE
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#299DAD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6c87ea;
/* rgb */ color: rgb(108, 135, 234);
/* oklch */ color: oklch(64.9% 0.151 270.3);
Tailwind
colors: {
  custom: {
    50: '#9ea9f1',
    500: '#6c87ea',
    950: '#000000',
  },
}
SCSS
$custom: #6c87ea;
$custom-light: #9ea9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87ea",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 227.143,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64857,
    "c": 0.15087,
    "h": 270.3
  },
  "luminance": 0.26457
}

Semantic roles & 50–950 ramp

primary
#6C87EA
secondary
#EDE4C5
accent
#AC0ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6C87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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