#6786CF#6786CF

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

Color values

HEX#6786CF
RGBrgb(103, 134, 207)
HSLhsl(222, 52%, 61%)
HSVhsv(222, 50%, 81%)
CMYKcmyk(50.2%, 35.3%, 0%, 18.8%)
CIE-LABlab(56.52, 9.37, -41.09)
CIE-LCHlch(56.52, 42.14, 282.84°)
OKLaboklab(62.83% -0.0087 -0.1158)
OKLCHoklch(62.83% 0.116 265.7)
XYZxyz(25.3774, 24.4370, 62.3990)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786CF #CFB067
analogous
#67BACF #6786CF #7C67CF
triadic
#6786CF #CF6786 #86CF67
tetradic
#6786CF #CF67BA #CFB067 #67CF7C
square
#6786CF #CF67BA #CFB067 #67CF7C
split-complementary
#6786CF #CF7C67 #BACF67
monochromatic
#2D4A8F #3C62BD #6786CF #96ABDE #C4D0EC

Accessibility & contrast

On white

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

On black

5.89
#6786CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786CF#FFFFFF#000000##000000
##6786CF1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD2
Deuteranopia (green-blind)
#5E83CD
Tritanopia (blue-blind)
#3996A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6786cf;
/* rgb */ color: rgb(103, 134, 207);
/* oklch */ color: oklch(62.8% 0.116 265.7);
Tailwind
colors: {
  custom: {
    50: '#98a8de',
    500: '#6786cf',
    950: '#000000',
  },
}
SCSS
$custom: #6786cf;
$custom-light: #98a8de;
$custom-dark: #000000;
JSON
{
  "hex": "#6786cf",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 222.115,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62832,
    "c": 0.11617,
    "h": 265.7
  },
  "luminance": 0.24439
}

Semantic roles & 50–950 ramp

primary
#6786CF
secondary
#DDD1B5
accent
#9226BF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6786CF

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

Preview Lab → · Contrast checker → · Palette generator →

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