#6B87F8#6B87F8

#6B87F8 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.6% C 0.170 H 270.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6B87F8
RGBrgb(107, 135, 248)
HSLhsl(228, 91%, 70%)
HSVhsv(228, 57%, 97%)
CMYKcmyk(56.9%, 45.6%, 0%, 2.7%)
CIE-LABlab(59.19, 22.54, -59.70)
CIE-LCHlch(59.19, 63.82, 290.69°)
OKLaboklab(65.64% 0.0019 -0.1703)
OKLCHoklch(65.64% 0.17 270.6)
XYZxyz(31.6650, 27.2286, 92.3757)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B87F8 #F8DC6B
analogous
#6BCEF8 #6B87F8 #966BF8
triadic
#6B87F8 #F86B87 #87F86B
tetradic
#6B87F8 #F86BCE #F8DC6B #6BF896
square
#6B87F8 #F86BCE #F8DC6B #6BF896
split-complementary
#6B87F8 #F8966B #CEF86B
monochromatic
#0B35DE #3158F5 #6B87F8 #A5B6FB #E0E6FE

Accessibility & contrast

On white

3.26
#6B87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#6B87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B87F8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B87F8#FFFFFF#000000##000000
##6B87F81.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#3E89F6
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6b87f8;
/* rgb */ color: rgb(107, 135, 248);
/* oklch */ color: oklch(65.6% 0.170 270.6);
Tailwind
colors: {
  custom: {
    50: '#9fa9fb',
    500: '#6b87f8',
    950: '#000000',
  },
}
SCSS
$custom: #6b87f8;
$custom-light: #9fa9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b87f8",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 228.085,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65644,
    "c": 0.17027,
    "h": 270.6
  },
  "luminance": 0.27231
}

Semantic roles & 50–950 ramp

primary
#6B87F8
secondary
#F4ECCB
accent
#B800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6B87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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