#6887DF#6887DF

#6887DF is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.137 H 267.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6887DF
RGBrgb(104, 135, 223)
HSLhsl(224, 65%, 64%)
HSVhsv(224, 53%, 87%)
CMYKcmyk(53.4%, 39.5%, 0%, 12.5%)
CIE-LABlab(57.65, 13.98, -48.28)
CIE-LCHlch(57.65, 50.27, 286.15°)
OKLaboklab(63.98% -0.0053 -0.1368)
OKLCHoklch(63.98% 0.137 267.8)
XYZxyz(27.6878, 25.5967, 73.2794)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887DF #DFC068
analogous
#68C2DF #6887DF #8568DF
triadic
#6887DF #DF6887 #87DF68
tetradic
#6887DF #DF68C2 #DFC068 #68DF85
square
#6887DF #DF68C2 #DFC068 #68DF85
split-complementary
#6887DF #DF8568 #C2DF68
monochromatic
#2446A9 #365FD4 #6887DF #9BAFEA #CDD7F4

Accessibility & contrast

On white

3.43
#6887DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#6887DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887DF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887DF#FFFFFF#000000##000000
##6887DF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E2
Deuteranopia (green-blind)
#5586DD
Tritanopia (blue-blind)
#2A9AA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6887df;
/* rgb */ color: rgb(104, 135, 223);
/* oklch */ color: oklch(64.0% 0.137 267.8);
Tailwind
colors: {
  custom: {
    50: '#9ba9e9',
    500: '#6887df',
    950: '#000000',
  },
}
SCSS
$custom: #6887df;
$custom-light: #9ba9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6887df",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 224.37,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.13693,
    "h": 267.8
  },
  "luminance": 0.25599
}

Semantic roles & 50–950 ramp

primary
#6887DF
secondary
#E6DBBD
accent
#9E19CD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6887DF

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

Preview Lab → · Contrast checker → · Palette generator →

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