#6787BF#6787BF

#6787BF is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.2% C 0.093 H 261.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6787BF
RGBrgb(103, 135, 191)
HSLhsl(218, 41%, 58%)
HSVhsv(218, 46%, 75%)
CMYKcmyk(46.1%, 29.3%, 0%, 25.1%)
CIE-LABlab(56.06, 3.92, -32.75)
CIE-LCHlch(56.06, 32.98, 276.83°)
OKLaboklab(62.23% -0.0142 -0.0917)
OKLCHoklch(62.23% 0.093 261.2)
XYZxyz(23.6584, 23.9716, 52.6605)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787BF #BF9F67
analogous
#67B3BF #6787BF #7367BF
triadic
#6787BF #BF6787 #87BF67
tetradic
#6787BF #BF67B3 #BF9F67 #67BF73
square
#6787BF #BF67B3 #BF9F67 #67BF73
split-complementary
#6787BF #BF7367 #B3BF67
monochromatic
#334C79 #4567A4 #6787BF #92A9D1 #BDCBE3

Accessibility & contrast

On white

3.62
#6787BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#6787BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787BF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787BF#FFFFFF#000000##000000
##6787BF1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC1
Deuteranopia (green-blind)
#6883BE
Tritanopia (blue-blind)
#44939B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6787bf;
/* rgb */ color: rgb(103, 135, 191);
/* oklch */ color: oklch(62.2% 0.093 261.2);
Tailwind
colors: {
  custom: {
    50: '#96a9d2',
    500: '#6787bf',
    950: '#000000',
  },
}
SCSS
$custom: #6787bf;
$custom-light: #96a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6787bf",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 218.182,
    "s": 40.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62229,
    "c": 0.09277,
    "h": 261.2
  },
  "luminance": 0.23973
}

Semantic roles & 50–950 ramp

primary
#6787BF
secondary
#D3C6AF
accent
#A457D1
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6787BF

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

Preview Lab → · Contrast checker → · Palette generator →

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