Skip to content

#7c9df0

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

RGB
124, 157, 240
HSL
223°, 80%, 71%
CMYK
48, 35, 0, 6
Luminance
0.3469

At a glance

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

Hex
#7c9df0
Hue
223°
blue
Saturation
80%
electric
Lightness
71%
light
Brightness
94%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3469
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.94:1
Closest name
Cornflower Blue
ΔE2000 4.1
Where it sits
Hue223° of 360°
Saturation80%
Lightness71%
Temperature
Warm ← → Cool93% 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#7c9df0
RGBrgb(124, 157, 240)
HSLhsl(223, 80%, 71%)
CMYKcmyk(48%, 35%, 0%, 6%)
LABlab(65.5 10.8 -45.2)
LCHlch(65.5 46.5 283.4)
OKLCHoklch(0.706 0.128 266.7)
Decimal8166896
Display P3color(display-p3 0.486 0.616 0.941)

Copy-ready code

/* CSS */
color: #7c9df0;
background-color: #7c9df0;
/* Tailwind (arbitrary) */
class="text-[#7c9df0] bg-[#7c9df0]"
/* SCSS */
$brand: #7c9df0;
/* SwiftUI */
Color(red: 0.486, green: 0.616, blue: 0.941)
/* Android */
Color.parseColor("#7c9df0")
/* Flutter */
Color(0xFF7C9DF0)
/* Python / OpenCV (BGR) */
(240, 157, 124)

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 #7c9df0 · 7.94:1
Use #000000AAA at every size.
Aa
White text · 2.65:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.94:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7c9df0 as text scores 2.65:1 on white and 7.94:1 on black.

Accessibility — WCAG contrast

Aa
#7c9df0 on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#7c9df0 on black: 7.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7EA5F3
deuteranopia · #719AEE
tritanopia · #4CAFBB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7c9df0 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.

#F3F5FC
#E6ECF9
#C7D4F5
#9AB4F3
#7c9df0
#3668E8
#1951DC
#1543B7
#113692
#102A6A
#0A1A42
Base = 400Lightest = 50 · #F3F5FCDarkest = 950 · #0A1A42
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E6ECF9;
  --brand-200: #C7D4F5;
  --brand-300: #9AB4F3;
  --brand-400: #7c9df0;
  --brand-500: #3668E8;
  --brand-600: #1951DC;
  --brand-700: #1543B7;
  --brand-800: #113692;
  --brand-900: #102A6A;
  --brand-950: #0A1A42;
  --brand: #7c9df0;
  --brand-ink: #000000;
}

Colors that work with #7c9df0

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#F4F6FA
Tinted page background
Border#C0CDED
Hairlines and dividers
Muted text#4B619B
Captions on the surface
Accent#BB6011
Second voice, not a rival
Dark variant#0D2A72
Hover, pressed, headers
Light variant#E8EEFC
Selected rows, tints
Dark surface#141824
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 #7c9df0

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#F0CF7C
Analogous left#7CD7F0
Analogous right#957CF0
Split-complement 1#F0957C
Split-complement 2#D7F07C
Triadic 1#F07C9D
Triadic 2#9DF07C
Tetradic#F07CD7

RGB percentages

Red48.6%
Green61.6%
Blue94.1%

CMYK percentages

Cyan48.3%
Magenta34.6%
Yellow0.0%
Key (black)5.9%

Color previews

#7c9df0 text on a black background

contrast 7.94:1

Card sample

#7c9df0 text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7c9df0;
Background color
Panel with #7c9df0 background
background-color: #7c9df0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7c9df0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(124, 157, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 157, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c9df0;
background: linear-gradient(135deg, #7c9df0, #A87CF0);

Monochromatic scale

Palettes built from #7c9df0

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.

#7c9df0 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.

#7c9df0, answered

What color is #7c9df0?

#7c9df0 is a light electric blue, closest to Cornflower Blue (ΔE2000 4.1). It sits at 223° on the hue wheel with 80% saturation and 71% lightness, which reads as cool.

What is the RGB value of #7c9df0?

rgb(124, 157, 240) — 124 red, 157 green and 240 blue out of 255, or 48.6% / 61.6% / 94.1% by channel.

Is #7c9df0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3469 and perceived brightness is 63%, so black text on it reaches 7.94:1.

Should I use black or white text on #7c9df0?

Black. It scores 7.94:1 against #7c9df0, versus 2.65:1 for white — AAA at any size.

What is the complementary color of #7c9df0?

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

What colors go well with #7c9df0?

For interface work: #F4F6FA as the surface, #C0CDED for borders, #4B619B for secondary text, #BB6011 as an accent and #0D2A72 for hover and pressed states. For a palette, the analogous pair #7CD7F0 and #957CF0 stays calm, while #F0CF7C is the loudest partner.

What is #7c9df0 in CMYK for printing?

cmyk(48%, 35%, 0%, 6%). 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 #7c9df0 warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #867CF0; nudged cooler, #7BAAF2.

Work with #7c9df0 in the Color Lab