#6786CD#6786CD

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

Color values

HEX#6786CD
RGBrgb(103, 134, 205)
HSLhsl(222, 50%, 60%)
HSVhsv(222, 50%, 80%)
CMYKcmyk(49.8%, 34.6%, 0%, 19.6%)
CIE-LABlab(56.43, 8.75, -40.11)
CIE-LCHlch(56.43, 41.05, 282.31°)
OKLaboklab(62.73% -0.0092 -0.113)
OKLCHoklch(62.73% 0.113 265.4)
XYZxyz(25.1344, 24.3399, 61.1194)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786CD #CDAE67
analogous
#67B9CD #6786CD #7B67CD
triadic
#6786CD #CD6786 #86CD67
tetradic
#6786CD #CD67B9 #CDAE67 #67CD7B
square
#6786CD #CD67B9 #CDAE67 #67CD7B
split-complementary
#6786CD #CD7B67 #B9CD67
monochromatic
#2E4A8C #3D63BA #6786CD #95ABDC #C3CFEB

Accessibility & contrast

On white

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

On black

5.87
#6786CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786CD#FFFFFF#000000##000000
##6786CD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CD0
Deuteranopia (green-blind)
#6083CB
Tritanopia (blue-blind)
#3A95A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6786cd;
/* rgb */ color: rgb(103, 134, 205);
/* oklch */ color: oklch(62.7% 0.113 265.4);
Tailwind
colors: {
  custom: {
    50: '#98a9dc',
    500: '#6786cd',
    950: '#000000',
  },
}
SCSS
$custom: #6786cd;
$custom-light: #98a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6786cd",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 221.765,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62726,
    "c": 0.11338,
    "h": 265.4
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#6786CD
secondary
#DBD0B4
accent
#9028BE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6786CD

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

Preview Lab → · Contrast checker → · Palette generator →

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