Skip to content

#778df7

a light, electric blue · cool · closest name: Cornflower Blue

RGB
119, 141, 247
HSL
230°, 89%, 72%
CMYK
52, 43, 0, 3
Luminance
0.2969

At a glance

Every number on this page in one read: what #778df7 is made of, how bright it looks, and which way it leans.

Hex
#778df7
Hue
230°
blue
Saturation
89%
electric
Lightness
72%
light
Brightness
97%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2969
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.94:1
Closest name
Cornflower Blue
ΔE2000 5.6
Where it sits
Hue230° of 360°
Saturation89%
Lightness72%
Temperature
Warm ← → Cool89% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#778df7
RGBrgb(119, 141, 247)
HSLhsl(230, 89%, 72%)
CMYKcmyk(52%, 43%, 0%, 3%)
LABlab(61.4 21.1 -55.6)
LCHlch(61.4 59.5 290.8)
OKLCHoklch(0.675 0.158 272.7)
Decimal7835127
Display P3color(display-p3 0.467 0.553 0.969)

Copy-ready code

/* CSS */
color: #778df7;
background-color: #778df7;
/* Tailwind (arbitrary) */
class="text-[#778df7] bg-[#778df7]"
/* SCSS */
$brand: #778df7;
/* SwiftUI */
Color(red: 0.467, green: 0.553, blue: 0.969)
/* Android */
Color.parseColor("#778df7")
/* Flutter */
Color(0xFF778DF7)
/* Python / OpenCV (BGR) */
(247, 141, 119)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #778df7 · 6.94:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.03:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.94:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #778df7 as text scores 3.03:1 on white and 6.94:1 on black.

Accessibility — WCAG contrast

Aa
#778df7 on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#778df7 on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #609AFB
deuteranopia · #528FF5
tritanopia · #3CA4B6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #778df7 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F4FD
#E5E9FB
#C4CDF8
#95A6F9
#778df7
#2B4DF3
#0E33E7
#0B2AC1
#09229A
#0B1C6F
#071246
Base = 400Lightest = 50 · #F2F4FDDarkest = 950 · #071246
:root {
  --brand-50: #F2F4FD;
  --brand-100: #E5E9FB;
  --brand-200: #C4CDF8;
  --brand-300: #95A6F9;
  --brand-400: #778df7;
  --brand-500: #2B4DF3;
  --brand-600: #0E33E7;
  --brand-700: #0B2AC1;
  --brand-800: #09229A;
  --brand-900: #0B1C6F;
  --brand-950: #071246;
  --brand: #778df7;
  --brand-ink: #000000;
}

Colors that work with #778df7

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F5FA
Tinted page background
Border#C0C7ED
Hairlines and dividers
Muted text#4B589B
Captions on the surface
Accent#C57607
Second voice, not a rival
Dark variant#071B78
Hover, pressed, headers
Light variant#E7EBFE
Selected rows, tints
Dark surface#141724
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #778df7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#F7E177
Analogous left#77CDF7
Analogous right#A177F7
Split-complement 1#F7A177
Split-complement 2#CDF777
Triadic 1#F7778D
Triadic 2#8DF777
Tetradic#F777CD

RGB percentages

Red46.7%
Green55.3%
Blue96.9%

CMYK percentages

Cyan51.8%
Magenta42.9%
Yellow0.0%
Key (black)3.1%

Color previews

#778df7 text on a black background

contrast 6.94:1

Card sample

#778df7 text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #778df7;
Background color
Panel with #778df7 background
background-color: #778df7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #778df7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(119, 141, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(119, 141, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #778df7;
background: linear-gradient(135deg, #778df7, #B677F7);

Monochromatic scale

Palettes built from #778df7

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#778df7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#778df7, answered

What color is #778df7?

#778df7 is a light electric blue, closest to Cornflower Blue (ΔE2000 5.6). It sits at 230° on the hue wheel with 89% saturation and 72% lightness, which reads as cool.

What is the RGB value of #778df7?

rgb(119, 141, 247) — 119 red, 141 green and 247 blue out of 255, or 46.7% / 55.3% / 96.9% by channel.

Is #778df7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2969 and perceived brightness is 59%, so black text on it reaches 6.94:1.

Should I use black or white text on #778df7?

Black. It scores 6.94:1 against #778df7, versus 3.03:1 for white — AA at any size.

What is the complementary color of #778df7?

#F7E177 sits directly opposite on the wheel. Softer options are the split-complements #F7A177 and #CDF777, which give the same contrast with far less vibration.

What colors go well with #778df7?

For interface work: #F4F5FA as the surface, #C0C7ED for borders, #4B589B for secondary text, #C57607 as an accent and #071B78 for hover and pressed states. For a palette, the analogous pair #77CDF7 and #A177F7 stays calm, while #F7E177 is the loudest partner.

What is #778df7 in CMYK for printing?

cmyk(52%, 43%, 0%, 3%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #778df7 warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9077F7; nudged cooler, #76A4F8.

Work with #778df7 in the Color Lab