Skip to content

#7b9eb2

a balanced, soft blue · cool · closest name: Light Slate Gray

RGB
123, 158, 178
HSL
202°, 26%, 59%
CMYK
31, 11, 0, 30
Luminance
0.3188

At a glance

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

Hex
#7b9eb2
Hue
202°
blue
Saturation
26%
soft
Lightness
59%
balanced
Brightness
70%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3188
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
7.38:1
Closest name
Light Slate Gray
ΔE2000 8.3
Where it sits
Hue202° of 360°
Saturation26%
Lightness59%
Temperature
Warm ← → Cool85% 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#7b9eb2
RGBrgb(123, 158, 178)
HSLhsl(202, 26%, 59%)
CMYKcmyk(31%, 11%, 0%, 30%)
LABlab(63.2 -7.2 -14.3)
LCHlch(63.2 16.0 243.3)
OKLCHoklch(0.680 0.049 233.5)
Decimal8101554
Display P3color(display-p3 0.482 0.620 0.698)

Copy-ready code

/* CSS */
color: #7b9eb2;
background-color: #7b9eb2;
/* Tailwind (arbitrary) */
class="text-[#7b9eb2] bg-[#7b9eb2]"
/* SCSS */
$brand: #7b9eb2;
/* SwiftUI */
Color(red: 0.482, green: 0.620, blue: 0.698)
/* Android */
Color.parseColor("#7b9eb2")
/* Flutter */
Color(0xFF7B9EB2)
/* Python / OpenCV (BGR) */
(178, 158, 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 #7b9eb2 · 7.38:1
Use #000000AAA at every size.
Aa
White text · 2.85:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.38:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7b9eb2 as text scores 2.85:1 on white and 7.38:1 on black.

Accessibility — WCAG contrast

Aa
#7b9eb2 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#7b9eb2 on black: 7.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #959DB3
deuteranopia · #8D96B2
tritanopia · #6AA3A4

Color scale — 50 to 950

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

#F6F8F9
#EDF1F3
#D6E0E6
#B8CBD6
#95B1C1
#7b9eb2
#5A839B
#4B6D81
#3C5767
#2E414C
#1D2930
Base = 500Lightest = 50 · #F6F8F9Darkest = 950 · #1D2930
:root {
  --brand-50: #F6F8F9;
  --brand-100: #EDF1F3;
  --brand-200: #D6E0E6;
  --brand-300: #B8CBD6;
  --brand-400: #95B1C1;
  --brand-500: #7b9eb2;
  --brand-600: #5A839B;
  --brand-700: #4B6D81;
  --brand-800: #3C5767;
  --brand-900: #2E414C;
  --brand-950: #1D2930;
  --brand: #7b9eb2;
  --brand-ink: #000000;
}

Colors that work with #7b9eb2

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#F5F8F9
Tinted page background
Border#CBD9E1
Hairlines and dividers
Muted text#557B91
Captions on the surface
Accent#B67E77
Second voice, not a rival
Dark variant#2F4451
Hover, pressed, headers
Light variant#EFF3F6
Selected rows, tints
Dark surface#151E23
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 #7b9eb2

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#B28F7B
Analogous left#7BB2AA
Analogous right#7B82B2
Split-complement 1#B27B82
Split-complement 2#B2AA7B
Triadic 1#B27B9E
Triadic 2#9EB27B
Tetradic#AA7BB2

RGB percentages

Red48.2%
Green62.0%
Blue69.8%

CMYK percentages

Cyan30.9%
Magenta11.2%
Yellow0.0%
Key (black)30.2%

Color previews

#7b9eb2 text on a black background

contrast 7.38:1

Card sample

#7b9eb2 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7b9eb2

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.

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

#7b9eb2, answered

What color is #7b9eb2?

#7b9eb2 is a balanced soft blue, closest to Light Slate Gray (ΔE2000 8.3). It sits at 202° on the hue wheel with 26% saturation and 59% lightness, which reads as cool.

What is the RGB value of #7b9eb2?

rgb(123, 158, 178) — 123 red, 158 green and 178 blue out of 255, or 48.2% / 62% / 69.8% by channel.

Is #7b9eb2 a light or a dark color?

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

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

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

What is the complementary color of #7b9eb2?

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

What colors go well with #7b9eb2?

For interface work: #F5F8F9 as the surface, #CBD9E1 for borders, #557B91 for secondary text, #B67E77 as an accent and #2F4451 for hover and pressed states. For a palette, the analogous pair #7BB2AA and #7B82B2 stays calm, while #B28F7B is the loudest partner.

What is #7b9eb2 in CMYK for printing?

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

Is #7b9eb2 warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7BB2B2; nudged cooler, #7997B4.

Work with #7b9eb2 in the Color Lab