#6788F5#6788F5

#6788F5 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.4% C 0.166 H 268.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6788F5
RGBrgb(103, 136, 245)
HSLhsl(226, 88%, 68%)
HSVhsv(226, 58%, 96%)
CMYKcmyk(58%, 44.5%, 0%, 3.9%)
CIE-LABlab(59.05, 20.21, -58.28)
CIE-LCHlch(59.05, 61.68, 289.13°)
OKLaboklab(65.43% -0.0034 -0.1661)
OKLCHoklch(65.43% 0.166 268.8)
XYZxyz(30.8736, 27.0820, 89.9689)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6788F5 #F5D467
analogous
#67CFF5 #6788F5 #8D67F5
triadic
#6788F5 #F56788 #88F567
tetradic
#6788F5 #F567CF #F5D467 #67F58D
square
#6788F5 #F567CF #F5D467 #67F58D
split-complementary
#6788F5 #F58D67 #CFF567
monochromatic
#0E3CD4 #2E5BF1 #6788F5 #A0B5F9 #DAE2FD

Accessibility & contrast

On white

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

On black

6.42
#6788F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6788F5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6788F5#FFFFFF#000000##000000
##6788F51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695F9
Deuteranopia (green-blind)
#4188F3
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6788f5;
/* rgb */ color: rgb(103, 136, 245);
/* oklch */ color: oklch(65.4% 0.166 268.8);
Tailwind
colors: {
  custom: {
    50: '#9daaf9',
    500: '#6788f5',
    950: '#000000',
  },
}
SCSS
$custom: #6788f5;
$custom-light: #9daaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6788f5",
  "rgb": {
    "r": 103,
    "g": 136,
    "b": 245
  },
  "hsl": {
    "h": 226.056,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65426,
    "c": 0.16619,
    "h": 268.8
  },
  "luminance": 0.27084
}

Semantic roles & 50–950 ramp

primary
#6788F5
secondary
#F1E7C6
accent
#AF01E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #6788F5

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

Preview Lab → · Contrast checker → · Palette generator →

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