Skip to content

#7c8cd3

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

RGB
124, 140, 211
HSL
229°, 50%, 66%
CMYK
41, 34, 0, 17
Luminance
0.2774

At a glance

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

Hex
#7c8cd3
Hue
229°
blue
Saturation
50%
vivid
Lightness
66%
light
Brightness
83%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2774
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.55:1
Closest name
Cornflower Blue
ΔE2000 7.5
Where it sits
Hue229° of 360°
Saturation50%
Lightness66%
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#7c8cd3
RGBrgb(124, 140, 211)
HSLhsl(229, 50%, 66%)
CMYKcmyk(41%, 34%, 0%, 17%)
LABlab(59.7 12.2 -38.3)
LCHlch(59.7 40.2 287.7)
OKLCHoklch(0.657 0.108 273.4)
Decimal8162515
Display P3color(display-p3 0.486 0.549 0.827)

Copy-ready code

/* CSS */
color: #7c8cd3;
background-color: #7c8cd3;
/* Tailwind (arbitrary) */
class="text-[#7c8cd3] bg-[#7c8cd3]"
/* SCSS */
$brand: #7c8cd3;
/* SwiftUI */
Color(red: 0.486, green: 0.549, blue: 0.827)
/* Android */
Color.parseColor("#7c8cd3")
/* Flutter */
Color(0xFF7C8CD3)
/* Python / OpenCV (BGR) */
(211, 140, 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 #7c8cd3 · 6.55:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.21:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.55:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #7c8cd3 as text scores 3.21:1 on white and 6.55:1 on black.

Accessibility — WCAG contrast

Aa
#7c8cd3 on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#7c8cd3 on black: 6.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7493D6
deuteranopia · #6C8CD1
tritanopia · #609AA6

Color scale — 50 to 950

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

#F4F5FA
#EAECF6
#CFD5EC
#ABB5E3
#7c8cd3
#576BC7
#3E54B7
#334699
#29387A
#212B59
#151B38
Base = 400Lightest = 50 · #F4F5FADarkest = 950 · #151B38
:root {
  --brand-50: #F4F5FA;
  --brand-100: #EAECF6;
  --brand-200: #CFD5EC;
  --brand-300: #ABB5E3;
  --brand-400: #7c8cd3;
  --brand-500: #576BC7;
  --brand-600: #3E54B7;
  --brand-700: #334699;
  --brand-800: #29387A;
  --brand-900: #212B59;
  --brand-950: #151B38;
  --brand: #7c8cd3;
  --brand-ink: #000000;
}

Colors that work with #7c8cd3

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#C2C9EA
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#9D6D2F
Second voice, not a rival
Dark variant#202C5F
Hover, pressed, headers
Light variant#ECEEF9
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 #7c8cd3

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#D3C37C
Analogous left#7CB7D3
Analogous right#987CD3
Split-complement 1#D3987C
Split-complement 2#B7D37C
Triadic 1#D37C8C
Triadic 2#8CD37C
Tetradic#D37CB7

RGB percentages

Red48.6%
Green54.9%
Blue82.7%

CMYK percentages

Cyan41.2%
Magenta33.6%
Yellow0.0%
Key (black)17.3%

Color previews

#7c8cd3 text on a black background

contrast 6.55:1

Card sample

#7c8cd3 text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c8cd3

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.

#7c8cd3 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

Converts to four-color process without much drama. Proof it anyway.

#7c8cd3, answered

What color is #7c8cd3?

#7c8cd3 is a light vivid blue, closest to Cornflower Blue (ΔE2000 7.5). It sits at 229° on the hue wheel with 50% saturation and 66% lightness, which reads as cool.

What is the RGB value of #7c8cd3?

rgb(124, 140, 211) — 124 red, 140 green and 211 blue out of 255, or 48.6% / 54.9% / 82.7% by channel.

Is #7c8cd3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2774 and perceived brightness is 57%, so black text on it reaches 6.55:1.

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

Black. It scores 6.55:1 against #7c8cd3, versus 3.21:1 for white — AA at any size.

What is the complementary color of #7c8cd3?

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

What colors go well with #7c8cd3?

For interface work: #F4F5FA as the surface, #C2C9EA for borders, #4B599B for secondary text, #9D6D2F as an accent and #202C5F for hover and pressed states. For a palette, the analogous pair #7CB7D3 and #987CD3 stays calm, while #D3C37C is the loudest partner.

What is #7c8cd3 in CMYK for printing?

cmyk(41%, 34%, 0%, 17%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #7c8cd3 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 #8C7CD3; nudged cooler, #7A9DD5.

Work with #7c8cd3 in the Color Lab