#6D87FE#6D87FE

#6D87FE is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.1% C 0.178 H 271.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6D87FE
RGBrgb(109, 135, 254)
HSLhsl(229, 99%, 71%)
HSVhsv(229, 57%, 100%)
CMYKcmyk(57.1%, 46.9%, 0%, 0.4%)
CIE-LABlab(59.65, 24.84, -62.26)
CIE-LCHlch(59.65, 67.03, 291.75°)
OKLaboklab(66.14% 0.0046 -0.1777)
OKLCHoklch(66.14% 0.178 271.5)
XYZxyz(32.8541, 27.7324, 97.3683)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D87FE #FEE46D
analogous
#6DD0FE #6D87FE #9B6DFE
triadic
#6D87FE #FE6D87 #87FE6D
tetradic
#6D87FE #FE6DD0 #FEE46D #6DFE9B
square
#6D87FE #FE6DD0 #FEE46D #6DFE9B
split-complementary
#6D87FE #FE9B6D #D0FE6D
monochromatic
#022CEF #3055FE #6D87FE #AAB9FE #E1E6FF

Accessibility & contrast

On white

3.21
#6D87FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#6D87FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D87FE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D87FE#FFFFFF#000000##000000
##6D87FE1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#378AFB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #6d87fe;
/* rgb */ color: rgb(109, 135, 254);
/* oklch */ color: oklch(66.1% 0.178 271.5);
Tailwind
colors: {
  custom: {
    50: '#a1a9ff',
    500: '#6d87fe',
    950: '#000000',
  },
}
SCSS
$custom: #6d87fe;
$custom-light: #a1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6d87fe",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 229.241,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66137,
    "c": 0.17779,
    "h": 271.5
  },
  "luminance": 0.27735
}

Semantic roles & 50–950 ramp

primary
#6D87FE
secondary
#F6F0D0
accent
#BC00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6D87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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