#778ACC#778ACC

#778ACC is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.6% C 0.102 H 271.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#778ACC
RGBrgb(119, 138, 204)
HSLhsl(227, 45%, 63%)
HSVhsv(227, 42%, 80%)
CMYKcmyk(41.7%, 32.4%, 0%, 20%)
CIE-LABlab(58.47, 10.08, -36.27)
CIE-LCHlch(58.47, 37.65, 285.54°)
OKLaboklab(64.55% 0.0019 -0.1016)
OKLCHoklch(64.55% 0.102 271.1)
XYZxyz(27.5920, 26.4571, 60.7679)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778ACC #CCB977
analogous
#77B4CC #778ACC #8E77CC
triadic
#778ACC #CC778A #8ACC77
tetradic
#778ACC #CC77B4 #CCB977 #77CC8E
square
#778ACC #CC77B4 #CCB977 #77CC8E
split-complementary
#778ACC #CC8E77 #B4CC77
monochromatic
#374B92 #4A64BB #778ACC #A4B0DD #D0D7ED

Accessibility & contrast

On white

3.34
#778ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#778ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778ACC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778ACC#FFFFFF#000000##000000
##778ACC1.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)
#7390CF
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#5B97A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #778acc;
/* rgb */ color: rgb(119, 138, 204);
/* oklch */ color: oklch(64.6% 0.102 271.1);
Tailwind
colors: {
  custom: {
    50: '#a1acdc',
    500: '#778acc',
    950: '#000000',
  },
}
SCSS
$custom: #778acc;
$custom-light: #a1acdc;
$custom-dark: #000000;
JSON
{
  "hex": "#778acc",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 204
  },
  "hsl": {
    "h": 226.588,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64554,
    "c": 0.1016,
    "h": 271.1
  },
  "luminance": 0.26459
}

Semantic roles & 50–950 ramp

primary
#778ACC
secondary
#DFD8C0
accent
#992DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #778ACC

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

Preview Lab → · Contrast checker → · Palette generator →

#778ACC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva