#6786CB#6786CB

#6786CB is a light, moderate blue. Relative luminance 0.242; OKLCH L 62.6% C 0.111 H 265.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6786CB
RGBrgb(103, 134, 203)
HSLhsl(221, 49%, 60%)
HSVhsv(221, 49%, 80%)
CMYKcmyk(49.3%, 34%, 0%, 20.4%)
CIE-LABlab(56.33, 8.14, -39.13)
CIE-LCHlch(56.33, 39.97, 281.75°)
OKLaboklab(62.62% -0.0097 -0.1102)
OKLCHoklch(62.62% 0.111 265)
XYZxyz(24.8946, 24.2439, 59.8561)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786CB #CBAC67
analogous
#67B8CB #6786CB #7A67CB
triadic
#6786CB #CB6786 #86CB67
tetradic
#6786CB #CB67B8 #CBAC67 #67CB7A
square
#6786CB #CB67B8 #CBAC67 #67CB7A
split-complementary
#6786CB #CB7A67 #B8CB67
monochromatic
#2F4B89 #3E64B6 #6786CB #95AADB #C2CFEA

Accessibility & contrast

On white

3.59
#6786CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#6786CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786CB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786CB#FFFFFF#000000##000000
##6786CB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#6183C9
Tritanopia (blue-blind)
#3C959F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6786cb;
/* rgb */ color: rgb(103, 134, 203);
/* oklch */ color: oklch(62.6% 0.111 265.0);
Tailwind
colors: {
  custom: {
    50: '#98a9db',
    500: '#6786cb',
    950: '#000000',
  },
}
SCSS
$custom: #6786cb;
$custom-light: #98a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#6786cb",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 221.4,
    "s": 49.02,
    "l": 60
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.11058,
    "h": 265
  },
  "luminance": 0.24246
}

Semantic roles & 50–950 ramp

primary
#6786CB
secondary
#DACEB4
accent
#AE4FD9
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6786CB

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

Preview Lab → · Contrast checker → · Palette generator →

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