#6778EA#6778EA

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

Color values

HEX#6778EA
RGBrgb(103, 120, 234)
HSLhsl(232, 76%, 66%)
HSVhsv(232, 56%, 92%)
CMYKcmyk(56%, 48.7%, 0%, 8.2%)
CIE-LABlab(54.30, 26.31, -59.79)
CIE-LCHlch(54.30, 65.32, 293.76°)
OKLaboklab(61.6% 0.0117 -0.1708)
OKLCHoklch(61.6% 0.171 273.9)
XYZxyz(27.1564, 22.2551, 80.6906)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6778EA #EAD967
analogous
#67B9EA #6778EA #9767EA
triadic
#6778EA #EA6778 #78EA67
tetradic
#6778EA #EA67B9 #EAD967 #67EA97
square
#6778EA #EA67B9 #EAD967 #67EA97
split-complementary
#6778EA #EA9767 #B9EA67
monochromatic
#1A2FBD #3148E3 #6778EA #9DA8F1 #D3D8F9

Accessibility & contrast

On white

3.85
#6778EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6778EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6778EA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6778EA#FFFFFF#000000##000000
##6778EA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#2B7CE8
Tritanopia (blue-blind)
#1792A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6778ea;
/* rgb */ color: rgb(103, 120, 234);
/* oklch */ color: oklch(61.6% 0.171 273.9);
Tailwind
colors: {
  custom: {
    50: '#9c9ef1',
    500: '#6778ea',
    950: '#000000',
  },
}
SCSS
$custom: #6778ea;
$custom-light: #9c9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6778ea",
  "rgb": {
    "r": 103,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 232.214,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61602,
    "c": 0.17115,
    "h": 273.9
  },
  "luminance": 0.22257
}

Semantic roles & 50–950 ramp

primary
#6778EA
secondary
#ECE6C1
accent
#BE0ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6778EA

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

Preview Lab → · Contrast checker → · Palette generator →

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