#6786F4#6786F4

#6786F4 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.0% C 0.167 H 269.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6786F4
RGBrgb(103, 134, 244)
HSLhsl(227, 87%, 68%)
HSVhsv(227, 58%, 96%)
CMYKcmyk(57.8%, 45.1%, 0%, 4.3%)
CIE-LABlab(58.47, 21.09, -58.65)
CIE-LCHlch(58.47, 62.32, 289.78°)
OKLaboklab(64.97% -0.0015 -0.1672)
OKLCHoklch(64.97% 0.167 269.5)
XYZxyz(30.4423, 26.4630, 89.0741)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786F4 #F4D567
analogous
#67CCF4 #6786F4 #8F67F4
triadic
#6786F4 #F46786 #86F467
tetradic
#6786F4 #F467CC #F4D567 #67F48F
square
#6786F4 #F467CC #F4D567 #67F48F
split-complementary
#6786F4 #F48F67 #CCF467
monochromatic
#0F3AD1 #2E59F0 #6786F4 #A0B3F8 #D9E1FC

Accessibility & contrast

On white

3.34
#6786F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#6786F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786F4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786F4#FFFFFF#000000##000000
##6786F41.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#3E87F2
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6786f4;
/* rgb */ color: rgb(103, 134, 244);
/* oklch */ color: oklch(65.0% 0.167 269.5);
Tailwind
colors: {
  custom: {
    50: '#9da8f8',
    500: '#6786f4',
    950: '#000000',
  },
}
SCSS
$custom: #6786f4;
$custom-light: #9da8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6786f4",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 244
  },
  "hsl": {
    "h": 226.809,
    "s": 86.503,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.16726,
    "h": 269.5
  },
  "luminance": 0.26465
}

Semantic roles & 50–950 ramp

primary
#6786F4
secondary
#F1E7C6
accent
#B202E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6786F4

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

Preview Lab → · Contrast checker → · Palette generator →

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