#6787BE#6787BE

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

Color values

HEX#6787BE
RGBrgb(103, 135, 190)
HSLhsl(218, 40%, 57%)
HSVhsv(218, 46%, 75%)
CMYKcmyk(45.8%, 28.9%, 0%, 25.5%)
CIE-LABlab(56.02, 3.62, -32.25)
CIE-LCHlch(56.02, 32.45, 276.41°)
OKLaboklab(62.18% -0.0145 -0.0902)
OKLCHoklch(62.18% 0.091 260.9)
XYZxyz(23.5487, 23.9278, 52.0829)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787BE #BE9E67
analogous
#67B2BE #6787BE #7367BE
triadic
#6787BE #BE6787 #87BE67
tetradic
#6787BE #BE67B2 #BE9E67 #67BE73
square
#6787BE #BE67B2 #BE9E67 #67BE73
split-complementary
#6787BE #BE7367 #B2BE67
monochromatic
#334C77 #4568A2 #6787BE #92A9D0 #BDCBE3

Accessibility & contrast

On white

3.63
#6787BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6787BE#FFFFFF#000000##000000
##6787BE1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC0
Deuteranopia (green-blind)
#6983BD
Tritanopia (blue-blind)
#45939A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6787be;
/* rgb */ color: rgb(103, 135, 190);
/* oklch */ color: oklch(62.2% 0.091 260.9);
Tailwind
colors: {
  custom: {
    50: '#96a9d2',
    500: '#6787be',
    950: '#000000',
  },
}
SCSS
$custom: #6787be;
$custom-light: #96a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6787be",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 217.931,
    "s": 40.092,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6218,
    "c": 0.09139,
    "h": 260.9
  },
  "luminance": 0.23929
}

Semantic roles & 50–950 ramp

primary
#6787BE
secondary
#D2C5AF
accent
#A458D0
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6787BE

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

Preview Lab → · Contrast checker → · Palette generator →

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