#6787BB#6787BB

#6787BB is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.0% C 0.087 H 259.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6787BB
RGBrgb(103, 135, 187)
HSLhsl(217, 38%, 57%)
HSVhsv(217, 45%, 73%)
CMYKcmyk(44.9%, 27.8%, 0%, 26.7%)
CIE-LABlab(55.88, 2.74, -30.74)
CIE-LCHlch(55.88, 30.87, 275.09°)
OKLaboklab(62.04% -0.0153 -0.0859)
OKLCHoklch(62.04% 0.087 259.9)
XYZxyz(23.2242, 23.7980, 50.3738)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787BB #BB9B67
analogous
#67B1BB #6787BB #7167BB
triadic
#6787BB #BB6787 #87BB67
tetradic
#6787BB #BB67B1 #BB9B67 #67BB71
square
#6787BB #BB67B1 #BB9B67 #67BB71
split-complementary
#6787BB #BB7167 #B1BB67
monochromatic
#344C74 #47689E #6787BB #91A8CE #BCCAE1

Accessibility & contrast

On white

3.65
#6787BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#6787BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787BB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787BB#FFFFFF#000000##000000
##6787BB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#748ABD
Deuteranopia (green-blind)
#6A82BA
Tritanopia (blue-blind)
#479299
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6787bb;
/* rgb */ color: rgb(103, 135, 187);
/* oklch */ color: oklch(62.0% 0.087 259.9);
Tailwind
colors: {
  custom: {
    50: '#96a9cf',
    500: '#6787bb',
    950: '#000000',
  },
}
SCSS
$custom: #6787bb;
$custom-light: #96a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6787bb",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 217.143,
    "s": 38.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62035,
    "c": 0.08726,
    "h": 259.9
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#6787BB
secondary
#D0C3AE
accent
#A25ACE
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6787BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6787BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva