Skip to content

#7c96eb

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

RGB
124, 150, 235
HSL
226°, 74%, 70%
CMYK
47, 36, 0, 8
Luminance
0.3210

At a glance

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

Hex
#7c96eb
Hue
226°
blue
Saturation
74%
vivid
Lightness
70%
light
Brightness
92%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3210
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.42:1
Closest name
Cornflower Blue
ΔE2000 4.5
Where it sits
Hue226° of 360°
Saturation74%
Lightness70%
Temperature
Warm ← → Cool91% 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#7c96eb
RGBrgb(124, 150, 235)
HSLhsl(226, 74%, 70%)
CMYKcmyk(47%, 36%, 0%, 8%)
LABlab(63.4 13.3 -45.8)
LCHlch(63.4 47.6 286.2)
OKLCHoklch(0.689 0.129 269.9)
Decimal8165099
Display P3color(display-p3 0.486 0.588 0.922)

Copy-ready code

/* CSS */
color: #7c96eb;
background-color: #7c96eb;
/* Tailwind (arbitrary) */
class="text-[#7c96eb] bg-[#7c96eb]"
/* SCSS */
$brand: #7c96eb;
/* SwiftUI */
Color(red: 0.486, green: 0.588, blue: 0.922)
/* Android */
Color.parseColor("#7c96eb")
/* Flutter */
Color(0xFF7C96EB)
/* Python / OpenCV (BGR) */
(235, 150, 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 #7c96eb · 7.42:1
Use #000000AAA at every size.
Aa
White text · 2.83:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.42:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7c96eb as text scores 2.83:1 on white and 7.42:1 on black.

Accessibility — WCAG contrast

Aa
#7c96eb on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#7c96eb on black: 7.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #769FEE
deuteranopia · #6B95E9
tritanopia · #50A8B5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7c96eb 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
#E7EBF8
#C8D2F3
#9EB1F0
#7c96eb
#3C63E1
#204BD4
#1B3EB1
#16328E
#142767
#0C1940
Base = 400Lightest = 50 · #F3F5FCDarkest = 950 · #0C1940
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E7EBF8;
  --brand-200: #C8D2F3;
  --brand-300: #9EB1F0;
  --brand-400: #7c96eb;
  --brand-500: #3C63E1;
  --brand-600: #204BD4;
  --brand-700: #1B3EB1;
  --brand-800: #16328E;
  --brand-900: #142767;
  --brand-950: #0C1940;
  --brand: #7c96eb;
  --brand-ink: #000000;
}

Colors that work with #7c96eb

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#C0CAED
Hairlines and dividers
Muted text#4B5D9B
Captions on the surface
Accent#B56817
Second voice, not a rival
Dark variant#11276F
Hover, pressed, headers
Light variant#E9EDFC
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 #7c96eb

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#EBD17C
Analogous left#7CCEEB
Analogous right#997CEB
Split-complement 1#EB997C
Split-complement 2#CEEB7C
Triadic 1#EB7C96
Triadic 2#96EB7C
Tetradic#EB7CCE

RGB percentages

Red48.6%
Green58.8%
Blue92.2%

CMYK percentages

Cyan47.2%
Magenta36.2%
Yellow0.0%
Key (black)7.8%

Color previews

#7c96eb text on a black background

contrast 7.42:1

Card sample

#7c96eb text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c96eb

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.

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

#7c96eb, answered

What color is #7c96eb?

#7c96eb is a light vivid blue, closest to Cornflower Blue (ΔE2000 4.5). It sits at 226° on the hue wheel with 74% saturation and 70% lightness, which reads as cool.

What is the RGB value of #7c96eb?

rgb(124, 150, 235) — 124 red, 150 green and 235 blue out of 255, or 48.6% / 58.8% / 92.2% by channel.

Is #7c96eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3210 and perceived brightness is 61%, so black text on it reaches 7.42:1.

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

Black. It scores 7.42:1 against #7c96eb, versus 2.83:1 for white — AAA at any size.

What is the complementary color of #7c96eb?

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

What colors go well with #7c96eb?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5D9B for secondary text, #B56817 as an accent and #11276F for hover and pressed states. For a palette, the analogous pair #7CCEEB and #997CEB stays calm, while #EBD17C is the loudest partner.

What is #7c96eb in CMYK for printing?

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

Is #7c96eb warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8B7CEB; nudged cooler, #7BA6ED.

Work with #7c96eb in the Color Lab