Skip to content

#7ba2c3

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

RGB
123, 162, 195
HSL
208°, 38%, 62%
CMYK
37, 17, 0, 24
Luminance
0.3399

At a glance

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

Hex
#7ba2c3
Hue
208°
blue
Saturation
38%
soft
Lightness
62%
balanced
Brightness
76%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3399
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
7.80:1
Closest name
Cornflower Blue
ΔE2000 7.1
Where it sits
Hue208° of 360°
Saturation38%
Lightness62%
Temperature
Warm ← → Cool99% 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#7ba2c3
RGBrgb(123, 162, 195)
HSLhsl(208, 38%, 62%)
CMYKcmyk(37%, 17%, 0%, 24%)
LABlab(65.0 -5.0 -21.2)
LCHlch(65.0 21.8 256.7)
OKLCHoklch(0.696 0.065 244.4)
Decimal8102595
Display P3color(display-p3 0.482 0.635 0.765)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7ba2c3 on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#7ba2c3 on black: 7.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95A2C5
deuteranopia · #8B9AC2
tritanopia · #62AAAD

Color scale — 50 to 950

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

#F5F8FA
#EBF0F4
#D3DFE9
#B2C9DC
#7ba2c3
#6592B9
#4D7EA8
#40698C
#335470
#283F52
#192733
Base = 400Lightest = 50 · #F5F8FADarkest = 950 · #192733
:root {
  --brand-50: #F5F8FA;
  --brand-100: #EBF0F4;
  --brand-200: #D3DFE9;
  --brand-300: #B2C9DC;
  --brand-400: #7ba2c3;
  --brand-500: #6592B9;
  --brand-600: #4D7EA8;
  --brand-700: #40698C;
  --brand-800: #335470;
  --brand-900: #283F52;
  --brand-950: #192733;
  --brand: #7ba2c3;
  --brand-ink: #000000;
}

Colors that work with #7ba2c3

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#F4F8FA
Tinted page background
Border#C7D7E5
Hairlines and dividers
Muted text#4B769B
Captions on the surface
Accent#914D3B
Second voice, not a rival
Dark variant#284258
Hover, pressed, headers
Light variant#EDF3F7
Selected rows, tints
Dark surface#141D24
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 #7ba2c3

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#C39C7B
Analogous left#7BC3C0
Analogous right#7B7EC3
Split-complement 1#C37B7E
Split-complement 2#C3C07B
Triadic 1#C37BA2
Triadic 2#A2C37B
Tetradic#C07BC3

RGB percentages

Red48.2%
Green63.5%
Blue76.5%

CMYK percentages

Cyan36.9%
Magenta16.9%
Yellow0.0%
Key (black)23.5%

Color previews

#7ba2c3 text on a black background

contrast 7.80:1

Card sample

#7ba2c3 text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7ba2c3

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.

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

#7ba2c3, answered

What color is #7ba2c3?

#7ba2c3 is a balanced soft blue, closest to Cornflower Blue (ΔE2000 7.1). It sits at 208° on the hue wheel with 38% saturation and 62% lightness, which reads as cool.

What is the RGB value of #7ba2c3?

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

Is #7ba2c3 a light or a dark color?

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

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

Black. It scores 7.80:1 against #7ba2c3, versus 2.69:1 for white — AAA at any size.

What is the complementary color of #7ba2c3?

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

What colors go well with #7ba2c3?

For interface work: #F4F8FA as the surface, #C7D7E5 for borders, #4B769B for secondary text, #914D3B as an accent and #284258 for hover and pressed states. For a palette, the analogous pair #7BC3C0 and #7B7EC3 stays calm, while #C39C7B is the loudest partner.

What is #7ba2c3 in CMYK for printing?

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

Is #7ba2c3 warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7B88C3; nudged cooler, #6792BD.

Work with #7ba2c3 in the Color Lab