Skip to content

#7b9bc9

a balanced, soft blue · cool · closest name: Cornflower Blue

RGB
123, 155, 201
HSL
215°, 42%, 64%
CMYK
39, 23, 0, 21
Luminance
0.3187

At a glance

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

Hex
#7b9bc9
Hue
215°
blue
Saturation
42%
soft
Lightness
64%
balanced
Brightness
79%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3187
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
7.37:1
Closest name
Cornflower Blue
ΔE2000 5.2
Where it sits
Hue215° of 360°
Saturation42%
Lightness64%
Temperature
Warm ← → Cool97% 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#7b9bc9
RGBrgb(123, 155, 201)
HSLhsl(215, 42%, 64%)
CMYKcmyk(39%, 23%, 0%, 21%)
LABlab(63.2 0.5 -27.2)
LCHlch(63.2 27.2 271.1)
OKLCHoklch(0.683 0.077 257.4)
Decimal8100809
Display P3color(display-p3 0.482 0.608 0.788)

Copy-ready code

/* CSS */
color: #7b9bc9;
background-color: #7b9bc9;
/* Tailwind (arbitrary) */
class="text-[#7b9bc9] bg-[#7b9bc9]"
/* SCSS */
$brand: #7b9bc9;
/* SwiftUI */
Color(red: 0.482, green: 0.608, blue: 0.788)
/* Android */
Color.parseColor("#7b9bc9")
/* Flutter */
Color(0xFF7B9BC9)
/* Python / OpenCV (BGR) */
(201, 155, 123)

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

Accessibility — WCAG contrast

Aa
#7b9bc9 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#7b9bc9 on black: 7.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8A9DCB
deuteranopia · #8296C8
tritanopia · #61A5AB

Color scale — 50 to 950

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

#F5F7FA
#EBEFF5
#D2DCEA
#AFC3DE
#7b9bc9
#6086BE
#4771AE
#3B5E91
#2F4B74
#263955
#182435
Base = 400Lightest = 50 · #F5F7FADarkest = 950 · #182435
:root {
  --brand-50: #F5F7FA;
  --brand-100: #EBEFF5;
  --brand-200: #D2DCEA;
  --brand-300: #AFC3DE;
  --brand-400: #7b9bc9;
  --brand-500: #6086BE;
  --brand-600: #4771AE;
  --brand-700: #3B5E91;
  --brand-800: #2F4B74;
  --brand-900: #263955;
  --brand-950: #182435;
  --brand: #7b9bc9;
  --brand-ink: #000000;
}

Colors that work with #7b9bc9

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#F4F7FA
Tinted page background
Border#C5D3E7
Hairlines and dividers
Muted text#4B6C9B
Captions on the surface
Accent#955737
Second voice, not a rival
Dark variant#253B5A
Hover, pressed, headers
Light variant#EDF1F8
Selected rows, tints
Dark surface#141B24
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 #7b9bc9

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#C9A97B
Analogous left#7BC2C9
Analogous right#827BC9
Split-complement 1#C9827B
Split-complement 2#C2C97B
Triadic 1#C97B9B
Triadic 2#9BC97B
Tetradic#C97BC2

RGB percentages

Red48.2%
Green60.8%
Blue78.8%

CMYK percentages

Cyan38.8%
Magenta22.9%
Yellow0.0%
Key (black)21.2%

Color previews

#7b9bc9 text on a black background

contrast 7.37:1

Card sample

#7b9bc9 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(123, 155, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(123, 155, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7b9bc9;
background: linear-gradient(135deg, #7b9bc9, #8F7BC9);

Monochromatic scale

Palettes built from #7b9bc9

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.

#7b9bc9 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
ButtonsLinksFocus statesCharts
Print note

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

#7b9bc9, answered

What color is #7b9bc9?

#7b9bc9 is a balanced soft blue, closest to Cornflower Blue (ΔE2000 5.2). It sits at 215° on the hue wheel with 42% saturation and 64% lightness, which reads as cool.

What is the RGB value of #7b9bc9?

rgb(123, 155, 201) — 123 red, 155 green and 201 blue out of 255, or 48.2% / 60.8% / 78.8% by channel.

Is #7b9bc9 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3187 and perceived brightness is 60%, so black text on it reaches 7.37:1.

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

Black. It scores 7.37:1 against #7b9bc9, versus 2.85:1 for white — AAA at any size.

What is the complementary color of #7b9bc9?

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

What colors go well with #7b9bc9?

For interface work: #F4F7FA as the surface, #C5D3E7 for borders, #4B6C9B for secondary text, #955737 as an accent and #253B5A for hover and pressed states. For a palette, the analogous pair #7BC2C9 and #827BC9 stays calm, while #C9A97B is the loudest partner.

What is #7b9bc9 in CMYK for printing?

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

Is #7b9bc9 warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7B7EC9; nudged cooler, #6791C4.

Work with #7b9bc9 in the Color Lab