#6788F6#6788F6

#6788F6 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.5% C 0.168 H 268.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6788F6
RGBrgb(103, 136, 246)
HSLhsl(226, 89%, 68%)
HSVhsv(226, 58%, 96%)
CMYKcmyk(58.1%, 44.7%, 0%, 3.5%)
CIE-LABlab(59.11, 20.54, -58.74)
CIE-LCHlch(59.11, 62.23, 289.27°)
OKLaboklab(65.49% -0.0033 -0.1675)
OKLCHoklch(65.49% 0.168 268.9)
XYZxyz(31.0266, 27.1432, 90.7751)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6788F6 #F6D567
analogous
#67CFF6 #6788F6 #8D67F6
triadic
#6788F6 #F66788 #88F667
tetradic
#6788F6 #F667CF #F6D567 #67F68D
square
#6788F6 #F667CF #F6D567 #67F68D
split-complementary
#6788F6 #F68D67 #CFF667
monochromatic
#0D3BD6 #2D5BF3 #6788F6 #A1B5F9 #DBE2FD

Accessibility & contrast

On white

3.27
#6788F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#6788F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6788F6
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6788F6#FFFFFF#000000##000000
##6788F61.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#4088F4
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6788f6;
/* rgb */ color: rgb(103, 136, 246);
/* oklch */ color: oklch(65.5% 0.168 268.9);
Tailwind
colors: {
  custom: {
    50: '#9daafa',
    500: '#6788f6',
    950: '#000000',
  },
}
SCSS
$custom: #6788f6;
$custom-light: #9daafa;
$custom-dark: #000000;
JSON
{
  "hex": "#6788f6",
  "rgb": {
    "r": 103,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 226.154,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65488,
    "c": 0.16753,
    "h": 268.9
  },
  "luminance": 0.27146
}

Semantic roles & 50–950 ramp

primary
#6788F6
secondary
#F2E8C7
accent
#B100E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #6788F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6788F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva