#6786CC#6786CC

#6786CC is a light, moderate blue. Relative luminance 0.243; OKLCH L 62.7% C 0.112 H 265.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6786CC
RGBrgb(103, 134, 204)
HSLhsl(222, 50%, 60%)
HSVhsv(222, 50%, 80%)
CMYKcmyk(49.5%, 34.3%, 0%, 20%)
CIE-LABlab(56.38, 8.44, -39.62)
CIE-LCHlch(56.38, 40.51, 282.03°)
OKLaboklab(62.67% -0.0094 -0.1116)
OKLCHoklch(62.67% 0.112 265.2)
XYZxyz(25.0141, 24.2917, 60.4857)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786CC #CCAD67
analogous
#67B9CC #6786CC #7A67CC
triadic
#6786CC #CC6786 #86CC67
tetradic
#6786CC #CC67B9 #CCAD67 #67CC7A
square
#6786CC #CC67B9 #CCAD67 #67CC7A
split-complementary
#6786CC #CC7A67 #B9CC67
monochromatic
#2E4B8A #3E63B8 #6786CC #95AADB #C3CFEB

Accessibility & contrast

On white

3.58
#6786CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#6786CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786CC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786CC#FFFFFF#000000##000000
##6786CC1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#3B959F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6786cc;
/* rgb */ color: rgb(103, 134, 204);
/* oklch */ color: oklch(62.7% 0.112 265.2);
Tailwind
colors: {
  custom: {
    50: '#98a9dc',
    500: '#6786cc',
    950: '#000000',
  },
}
SCSS
$custom: #6786cc;
$custom-light: #98a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6786cc",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 221.584,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62673,
    "c": 0.11198,
    "h": 265.2
  },
  "luminance": 0.24293
}

Semantic roles & 50–950 ramp

primary
#6786CC
secondary
#DBCFB4
accent
#8F28BD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6786CC

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

Preview Lab → · Contrast checker → · Palette generator →

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