#6788EA#6788EA

#6788EA is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.151 H 268.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6788EA
RGBrgb(103, 136, 234)
HSLhsl(225, 76%, 66%)
HSVhsv(225, 56%, 92%)
CMYKcmyk(56%, 41.9%, 0%, 8.2%)
CIE-LABlab(58.44, 16.67, -53.16)
CIE-LCHlch(58.44, 55.71, 287.41°)
OKLaboklab(64.76% -0.0053 -0.1511)
OKLCHoklch(64.76% 0.151 268)
XYZxyz(29.2440, 26.4302, 81.3864)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6788EA #EAC967
analogous
#67CAEA #6788EA #8767EA
triadic
#6788EA #EA6788 #88EA67
tetradic
#6788EA #EA67CA #EAC967 #67EA87
square
#6788EA #EA67CA #EAC967 #67EA87
split-complementary
#6788EA #EA8767 #CAEA67
monochromatic
#1A43BD #315EE3 #6788EA #9DB2F1 #D3DCF9

Accessibility & contrast

On white

3.34
#6788EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#6788EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6788EA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6788EA#FFFFFF#000000##000000
##6788EA1.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)
#5E93EE
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#0E9EAE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6788ea;
/* rgb */ color: rgb(103, 136, 234);
/* oklch */ color: oklch(64.8% 0.151 268.0);
Tailwind
colors: {
  custom: {
    50: '#9baaf1',
    500: '#6788ea',
    950: '#000000',
  },
}
SCSS
$custom: #6788ea;
$custom-light: #9baaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6788ea",
  "rgb": {
    "r": 103,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 224.885,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64764,
    "c": 0.15121,
    "h": 268
  },
  "luminance": 0.26432
}

Semantic roles & 50–950 ramp

primary
#6788EA
secondary
#ECE1C1
accent
#A50ED8
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #6788EA

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

Preview Lab → · Contrast checker → · Palette generator →

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