#6787BC#6787BC

#6787BC is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.1% C 0.089 H 260.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6787BC
RGBrgb(103, 135, 188)
HSLhsl(217, 39%, 57%)
HSVhsv(217, 45%, 74%)
CMYKcmyk(45.2%, 28.2%, 0%, 26.3%)
CIE-LABlab(55.93, 3.03, -31.25)
CIE-LCHlch(55.93, 31.39, 275.54°)
OKLaboklab(62.08% -0.015 -0.0873)
OKLCHoklch(62.08% 0.089 260.2)
XYZxyz(23.3316, 23.8409, 50.9395)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787BC #BC9C67
analogous
#67B2BC #6787BC #7267BC
triadic
#6787BC #BC6787 #87BC67
tetradic
#6787BC #BC67B2 #BC9C67 #67BC72
square
#6787BC #BC67B2 #BC9C67 #67BC72
split-complementary
#6787BC #BC7267 #B2BC67
monochromatic
#344C75 #46689F #6787BC #91A9CF #BCCAE1

Accessibility & contrast

On white

3.64
#6787BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#6787BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787BC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787BC#FFFFFF#000000##000000
##6787BC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABE
Deuteranopia (green-blind)
#6A82BB
Tritanopia (blue-blind)
#46929A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6787bc;
/* rgb */ color: rgb(103, 135, 188);
/* oklch */ color: oklch(62.1% 0.089 260.2);
Tailwind
colors: {
  custom: {
    50: '#96a9d0',
    500: '#6787bc',
    950: '#000000',
  },
}
SCSS
$custom: #6787bc;
$custom-light: #96a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6787bc",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 217.412,
    "s": 38.813,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62083,
    "c": 0.08864,
    "h": 260.2
  },
  "luminance": 0.23842
}

Semantic roles & 50–950 ramp

primary
#6787BC
secondary
#D1C4AE
accent
#A259CF
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6787BC

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

Preview Lab → · Contrast checker → · Palette generator →

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