Skip to content

#7ba2cb

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

RGB
123, 162, 203
HSL
211°, 44%, 64%
CMYK
39, 20, 0, 20
Luminance
0.3436

At a glance

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

Hex
#7ba2cb
Hue
211°
blue
Saturation
44%
soft
Lightness
64%
balanced
Brightness
80%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3436
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
7.87:1
Closest name
Cornflower Blue
ΔE2000 5.8
Where it sits
Hue211° of 360°
Saturation44%
Lightness64%
Temperature
Warm ← → Cool100% 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#7ba2cb
RGBrgb(123, 162, 203)
HSLhsl(211, 44%, 64%)
CMYKcmyk(39%, 20%, 0%, 20%)
LABlab(65.3 -2.9 -25.2)
LCHlch(65.3 25.4 263.5)
OKLCHoklch(0.699 0.074 250.2)
Decimal8102603
Display P3color(display-p3 0.482 0.635 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7ba2cb on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#7ba2cb on black: 7.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92A3CD
deuteranopia · #889BCA
tritanopia · #5FABB0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7ba2cb 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
#EBF0F5
#D1DEEB
#AEC6DF
#7ba2cb
#5E8DC0
#4579B0
#3A6592
#2E5175
#253D56
#172636
Base = 400Lightest = 50 · #F5F7FADarkest = 950 · #172636
:root {
  --brand-50: #F5F7FA;
  --brand-100: #EBF0F5;
  --brand-200: #D1DEEB;
  --brand-300: #AEC6DF;
  --brand-400: #7ba2cb;
  --brand-500: #5E8DC0;
  --brand-600: #4579B0;
  --brand-700: #3A6592;
  --brand-800: #2E5175;
  --brand-900: #253D56;
  --brand-950: #172636;
  --brand: #7ba2cb;
  --brand-ink: #000000;
}

Colors that work with #7ba2cb

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#C4D6E8
Hairlines and dividers
Muted text#4B729B
Captions on the surface
Accent#974F35
Second voice, not a rival
Dark variant#243F5B
Hover, pressed, headers
Light variant#EDF2F8
Selected rows, tints
Dark surface#141C24
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 #7ba2cb

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#CBA47B
Analogous left#7BCACB
Analogous right#7C7BCB
Split-complement 1#CB7C7B
Split-complement 2#CACB7B
Triadic 1#CB7BA2
Triadic 2#A2CB7B
Tetradic#CB7BCA

RGB percentages

Red48.2%
Green63.5%
Blue79.6%

CMYK percentages

Cyan39.4%
Magenta20.2%
Yellow0.0%
Key (black)20.4%

Color previews

#7ba2cb text on a black background

contrast 7.87:1

Card sample

#7ba2cb text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(123, 162, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(123, 162, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7ba2cb;
background: linear-gradient(135deg, #7ba2cb, #897BCB);

Monochromatic scale

Palettes built from #7ba2cb

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.

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

#7ba2cb, answered

What color is #7ba2cb?

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

What is the RGB value of #7ba2cb?

rgb(123, 162, 203) — 123 red, 162 green and 203 blue out of 255, or 48.2% / 63.5% / 79.6% by channel.

Is #7ba2cb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3436 and perceived brightness is 62%, so black text on it reaches 7.87:1.

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

Black. It scores 7.87:1 against #7ba2cb, versus 2.67:1 for white — AAA at any size.

What is the complementary color of #7ba2cb?

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

What colors go well with #7ba2cb?

For interface work: #F4F7FA as the surface, #C4D6E8 for borders, #4B729B for secondary text, #974F35 as an accent and #243F5B for hover and pressed states. For a palette, the analogous pair #7BCACB and #7C7BCB stays calm, while #CBA47B is the loudest partner.

What is #7ba2cb in CMYK for printing?

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

Is #7ba2cb warm or cool?

Cool — it scores 100 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7B85CB; nudged cooler, #6794C6.

Work with #7ba2cb in the Color Lab