#6887FB#6887FB

#6887FB is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.7% C 0.175 H 269.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6887FB
RGBrgb(104, 135, 251)
HSLhsl(227, 95%, 70%)
HSVhsv(227, 59%, 98%)
CMYKcmyk(58.6%, 46.2%, 0%, 1.6%)
CIE-LABlab(59.19, 22.94, -61.36)
CIE-LCHlch(59.19, 65.51, 290.50°)
OKLaboklab(65.66% -0.0006 -0.1752)
OKLCHoklch(65.66% 0.175 269.8)
XYZxyz(31.7797, 27.2335, 94.8300)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887FB #FBDC68
analogous
#68D1FB #6887FB #9368FB
triadic
#6887FB #FB6887 #87FB68
tetradic
#6887FB #FB68D1 #FBDC68 #68FB93
square
#6887FB #FB68D1 #FBDC68 #68FB93
split-complementary
#6887FB #FB9368 #D1FB68
monochromatic
#0635E3 #2C58F9 #6887FB #A4B6FD #DFE6FE

Accessibility & contrast

On white

3.26
#6887FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#6887FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887FB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887FB#FFFFFF#000000##000000
##6887FB1.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)
#4F95FF
Deuteranopia (green-blind)
#3888F9
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6887fb;
/* rgb */ color: rgb(104, 135, 251);
/* oklch */ color: oklch(65.7% 0.175 269.8);
Tailwind
colors: {
  custom: {
    50: '#9ea9fd',
    500: '#6887fb',
    950: '#000000',
  },
}
SCSS
$custom: #6887fb;
$custom-light: #9ea9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6887fb",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 227.347,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65658,
    "c": 0.17519,
    "h": 269.8
  },
  "luminance": 0.27236
}

Semantic roles & 50–950 ramp

primary
#6887FB
secondary
#F4ECCA
accent
#B500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6887FB

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

Preview Lab → · Contrast checker → · Palette generator →

#6887FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva