#6778EB#6778EB

#6778EB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.7% C 0.172 H 273.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6778EB
RGBrgb(103, 120, 235)
HSLhsl(232, 77%, 66%)
HSVhsv(232, 56%, 92%)
CMYKcmyk(56.2%, 48.9%, 0%, 7.8%)
CIE-LABlab(54.36, 26.63, -60.25)
CIE-LCHlch(54.36, 65.87, 293.85°)
OKLaboklab(61.67% 0.0118 -0.1721)
OKLCHoklch(61.67% 0.173 273.9)
XYZxyz(27.3005, 22.3127, 81.4493)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6778EB #EBDA67
analogous
#67BAEB #6778EB #9867EB
triadic
#6778EB #EB6778 #78EB67
tetradic
#6778EB #EB67BA #EBDA67 #67EB98
square
#6778EB #EB67BA #EBDA67 #67EB98
split-complementary
#6778EB #EB9867 #BAEB67
monochromatic
#192EBF #3148E4 #6778EB #9DA8F2 #D3D8F9

Accessibility & contrast

On white

3.84
#6778EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6778EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6778EB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6778EB#FFFFFF#000000##000000
##6778EB1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#1592A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6778eb;
/* rgb */ color: rgb(103, 120, 235);
/* oklch */ color: oklch(61.7% 0.172 273.9);
Tailwind
colors: {
  custom: {
    50: '#9c9ef2',
    500: '#6778eb',
    950: '#000000',
  },
}
SCSS
$custom: #6778eb;
$custom-light: #9c9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6778eb",
  "rgb": {
    "r": 103,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 232.273,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.1725,
    "h": 273.9
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#6778EB
secondary
#ECE7C1
accent
#BF0DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6778EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6778EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva