#6C87F5#6C87F5

#6C87F5 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.5% C 0.166 H 270.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6C87F5
RGBrgb(108, 135, 245)
HSLhsl(228, 87%, 69%)
HSVhsv(228, 56%, 96%)
CMYKcmyk(55.9%, 44.9%, 0%, 3.9%)
CIE-LABlab(59.07, 21.78, -58.23)
CIE-LCHlch(59.07, 62.17, 290.51°)
OKLaboklab(65.52% 0.0025 -0.1659)
OKLCHoklch(65.52% 0.166 270.8)
XYZxyz(31.3243, 27.1063, 89.9499)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C87F5 #F5DA6C
analogous
#6CCCF5 #6C87F5 #966CF5
triadic
#6C87F5 #F56C87 #87F56C
tetradic
#6C87F5 #F56CCC #F5DA6C #6CF596
square
#6C87F5 #F56CCC #F5DA6C #6CF596
split-complementary
#6C87F5 #F5966C #CCF56C
monochromatic
#0F36D8 #3358F1 #6C87F5 #A5B6F9 #DFE5FD

Accessibility & contrast

On white

3.27
#6C87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#6C87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C87F5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C87F5#FFFFFF#000000##000000
##6C87F51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5594F9
Deuteranopia (green-blind)
#4389F3
Tritanopia (blue-blind)
#139FB2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6c87f5;
/* rgb */ color: rgb(108, 135, 245);
/* oklch */ color: oklch(65.5% 0.166 270.8);
Tailwind
colors: {
  custom: {
    50: '#a0a9f9',
    500: '#6c87f5',
    950: '#000000',
  },
}
SCSS
$custom: #6c87f5;
$custom-light: #a0a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c87f5",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 228.175,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65518,
    "c": 0.16592,
    "h": 270.8
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

primary
#6C87F5
secondary
#F2EACA
accent
#B702E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6C87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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