#6786CA#6786CA

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

Color values

HEX#6786CA
RGBrgb(103, 134, 202)
HSLhsl(221, 48%, 60%)
HSVhsv(221, 49%, 79%)
CMYKcmyk(49%, 33.7%, 0%, 20.8%)
CIE-LABlab(56.28, 7.83, -38.64)
CIE-LCHlch(56.28, 39.42, 281.46°)
OKLaboklab(62.57% -0.0099 -0.1087)
OKLCHoklch(62.57% 0.109 264.8)
XYZxyz(24.7758, 24.1964, 59.2305)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786CA #CAAB67
analogous
#67B8CA #6786CA #7967CA
triadic
#6786CA #CA6786 #86CA67
tetradic
#6786CA #CA67B8 #CAAB67 #67CA79
square
#6786CA #CA67B8 #CAAB67 #67CA79
split-complementary
#6786CA #CA7967 #B8CA67
monochromatic
#2F4B87 #3F64B5 #6786CA #94AADA #C2CEEA

Accessibility & contrast

On white

3.60
#6786CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#6786CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786CA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786CA#FFFFFF#000000##000000
##6786CA1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6786ca;
/* rgb */ color: rgb(103, 134, 202);
/* oklch */ color: oklch(62.6% 0.109 264.8);
Tailwind
colors: {
  custom: {
    50: '#98a9da',
    500: '#6786ca',
    950: '#000000',
  },
}
SCSS
$custom: #6786ca;
$custom-light: #98a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#6786ca",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 221.212,
    "s": 48.293,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62569,
    "c": 0.10918,
    "h": 264.8
  },
  "luminance": 0.24198
}

Semantic roles & 50–950 ramp

primary
#6786CA
secondary
#DACEB3
accent
#AD50D8
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6786CA

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

Preview Lab → · Contrast checker → · Palette generator →

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