#6786CE#6786CE

#6786CE is a light, moderate blue. Relative luminance 0.244; OKLCH L 62.8% C 0.115 H 265.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6786CE
RGBrgb(103, 134, 206)
HSLhsl(222, 51%, 61%)
HSVhsv(222, 50%, 81%)
CMYKcmyk(50%, 35%, 0%, 19.2%)
CIE-LABlab(56.47, 9.06, -40.60)
CIE-LCHlch(56.47, 41.60, 282.58°)
OKLaboklab(62.78% -0.0089 -0.1144)
OKLCHoklch(62.78% 0.115 265.5)
XYZxyz(25.2555, 24.3883, 61.7571)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786CE #CEAF67
analogous
#67B9CE #6786CE #7B67CE
triadic
#6786CE #CE6786 #86CE67
tetradic
#6786CE #CE67B9 #CEAF67 #67CE7B
square
#6786CE #CE67B9 #CEAF67 #67CE7B
split-complementary
#6786CE #CE7B67 #B9CE67
monochromatic
#2D4A8D #3C63BB #6786CE #95ABDD #C4D0EC

Accessibility & contrast

On white

3.57
#6786CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#6786CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786CE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786CE#FFFFFF#000000##000000
##6786CE1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD1
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#3A95A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6786ce;
/* rgb */ color: rgb(103, 134, 206);
/* oklch */ color: oklch(62.8% 0.115 265.5);
Tailwind
colors: {
  custom: {
    50: '#98a8dd',
    500: '#6786ce',
    950: '#000000',
  },
}
SCSS
$custom: #6786ce;
$custom-light: #98a8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6786ce",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 221.942,
    "s": 51.244,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.11478,
    "h": 265.5
  },
  "luminance": 0.2439
}

Semantic roles & 50–950 ramp

primary
#6786CE
secondary
#DCD0B5
accent
#9127BF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6786CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6786CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva