#6887F3#6887F3

#6887F3 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.2% C 0.164 H 269.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6887F3
RGBrgb(104, 135, 243)
HSLhsl(227, 85%, 68%)
HSVhsv(227, 57%, 95%)
CMYKcmyk(57.2%, 44.4%, 0%, 4.7%)
CIE-LABlab(58.73, 20.36, -57.68)
CIE-LCHlch(58.73, 61.17, 289.44°)
OKLaboklab(65.16% -0.0018 -0.1644)
OKLCHoklch(65.16% 0.164 269.4)
XYZxyz(30.5452, 26.7397, 88.3283)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887F3 #F3D468
analogous
#68CCF3 #6887F3 #8E68F3
triadic
#6887F3 #F36887 #87F368
tetradic
#6887F3 #F368CC #F3D468 #68F38E
square
#6887F3 #F368CC #F3D468 #68F38E
split-complementary
#6887F3 #F38E68 #CCF368
monochromatic
#113BD0 #2F5AEE #6887F3 #A1B4F8 #D9E1FC

Accessibility & contrast

On white

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

On black

6.35
#6887F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887F3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887F3#FFFFFF#000000##000000
##6887F31.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F7
Deuteranopia (green-blind)
#4287F1
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6887f3;
/* rgb */ color: rgb(104, 135, 243);
/* oklch */ color: oklch(65.2% 0.164 269.4);
Tailwind
colors: {
  custom: {
    50: '#9da9f8',
    500: '#6887f3',
    950: '#000000',
  },
}
SCSS
$custom: #6887f3;
$custom-light: #9da9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6887f3",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 226.619,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65162,
    "c": 0.16438,
    "h": 269.4
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

primary
#6887F3
secondary
#F1E7C6
accent
#B004E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887F3

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

Preview Lab → · Contrast checker → · Palette generator →

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