#6887F2#6887F2

#6887F2 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.163 H 269.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6887F2
RGBrgb(104, 135, 242)
HSLhsl(227, 84%, 68%)
HSVhsv(227, 57%, 95%)
CMYKcmyk(57%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.68, 20.04, -57.22)
CIE-LCHlch(58.68, 60.62, 289.30°)
OKLaboklab(65.1% -0.0019 -0.163)
OKLCHoklch(65.1% 0.163 269.3)
XYZxyz(30.3946, 26.6794, 87.5351)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887F2 #F2D368
analogous
#68CCF2 #6887F2 #8E68F2
triadic
#6887F2 #F26887 #87F268
tetradic
#6887F2 #F268CC #F2D368 #68F28E
square
#6887F2 #F268CC #F2D368 #68F28E
split-complementary
#6887F2 #F28E68 #CCF268
monochromatic
#123CCE #305AED #6887F2 #A0B4F7 #D9E1FC

Accessibility & contrast

On white

3.31
#6887F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#6887F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887F2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887F2#FFFFFF#000000##000000
##6887F21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#4387F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6887f2;
/* rgb */ color: rgb(104, 135, 242);
/* oklch */ color: oklch(65.1% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#9da9f7',
    500: '#6887f2',
    950: '#000000',
  },
}
SCSS
$custom: #6887f2;
$custom-light: #9da9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6887f2",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 226.522,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65101,
    "c": 0.16302,
    "h": 269.3
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#6887F2
secondary
#F0E7C6
accent
#AF05E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887F2

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

Preview Lab → · Contrast checker → · Palette generator →

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