#6B87F0#6B87F0

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

Color values

HEX#6B87F0
RGBrgb(107, 135, 240)
HSLhsl(227, 82%, 68%)
HSVhsv(227, 55%, 94%)
CMYKcmyk(55.4%, 43.8%, 0%, 5.9%)
CIE-LABlab(58.74, 19.99, -56.00)
CIE-LCHlch(58.74, 59.47, 289.65°)
OKLaboklab(65.16% 0.0007 -0.1594)
OKLCHoklch(65.16% 0.159 270.3)
XYZxyz(30.4504, 26.7428, 85.9784)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B87F0 #F0D46B
analogous
#6BCAF0 #6B87F0 #916BF0
triadic
#6B87F0 #F06B87 #87F06B
tetradic
#6B87F0 #F06BCA #F0D46B #6BF091
square
#6B87F0 #F06BCA #F0D46B #6BF091
split-complementary
#6B87F0 #F0916B #CAF06B
monochromatic
#153BCC #335AEA #6B87F0 #A3B4F6 #DAE1FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B87F0#FFFFFF#000000##000000
##6B87F01.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)
#5993F4
Deuteranopia (green-blind)
#4788EE
Tritanopia (blue-blind)
#1A9EB0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6b87f0;
/* rgb */ color: rgb(107, 135, 240);
/* oklch */ color: oklch(65.2% 0.159 270.3);
Tailwind
colors: {
  custom: {
    50: '#9ea9f5',
    500: '#6b87f0',
    950: '#000000',
  },
}
SCSS
$custom: #6b87f0;
$custom-light: #9ea9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b87f0",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 227.368,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65155,
    "c": 0.1594,
    "h": 270.3
  },
  "luminance": 0.26745
}

Semantic roles & 50–950 ramp

primary
#6B87F0
secondary
#F0E7C7
accent
#B108DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6B87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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