#6887F0#6887F0

#6887F0 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.160 H 269.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6887F0
RGBrgb(104, 135, 240)
HSLhsl(226, 82%, 67%)
HSVhsv(226, 57%, 94%)
CMYKcmyk(56.7%, 43.8%, 0%, 5.9%)
CIE-LABlab(58.56, 19.39, -56.29)
CIE-LCHlch(58.56, 59.53, 289.01°)
OKLaboklab(64.98% -0.0022 -0.1603)
OKLCHoklch(64.98% 0.16 269.2)
XYZxyz(30.0958, 26.5599, 85.9618)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887F0 #F0D168
analogous
#68CBF0 #6887F0 #8D68F0
triadic
#6887F0 #F06887 #87F068
tetradic
#6887F0 #F068CB #F0D168 #68F08D
square
#6887F0 #F068CB #F0D168 #68F08D
split-complementary
#6887F0 #F08D68 #CBF068
monochromatic
#143DCA #305BEA #6887F0 #A0B3F6 #D7DFFB

Accessibility & contrast

On white

3.33
#6887F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#6887F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887F0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887F0#FFFFFF#000000##000000
##6887F01.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F4
Deuteranopia (green-blind)
#4687EE
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6887f0;
/* rgb */ color: rgb(104, 135, 240);
/* oklch */ color: oklch(65.0% 0.160 269.2);
Tailwind
colors: {
  custom: {
    50: '#9da9f5',
    500: '#6887f0',
    950: '#000000',
  },
}
SCSS
$custom: #6887f0;
$custom-light: #9da9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6887f0",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 226.324,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64979,
    "c": 0.16031,
    "h": 269.2
  },
  "luminance": 0.26562
}

Semantic roles & 50–950 ramp

primary
#6887F0
secondary
#EFE5C5
accent
#AD07DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887F0

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

Preview Lab → · Contrast checker → · Palette generator →

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