#789dbb
a balanced, soft blue · cool · closest name: Cornflower Blue
At a glance
Every number on this page in one read: what #789dbb is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #789dbb |
| RGB | rgb(120, 157, 187) |
| HSL | hsl(207, 33%, 60%) |
| CMYK | cmyk(36%, 16%, 0%, 27%) |
| LAB | lab(63.1 -5.2 -19.6) |
| LCH | lch(63.1 20.3 255.1) |
| OKLCH | oklch(0.680 0.060 243.2) |
| Decimal | 7904699 |
| Display P3 | color(display-p3 0.471 0.616 0.733) |
Copy-ready code
/* CSS */
color: #789dbb;
background-color: #789dbb;
/* Tailwind (arbitrary) */
class="text-[#789dbb] bg-[#789dbb]"
/* SCSS */
$brand: #789dbb;
/* SwiftUI */
Color(red: 0.471, green: 0.616, blue: 0.733)
/* Android */
Color.parseColor("#789dbb")
/* Flutter */
Color(0xFF789DBB)
/* Python / OpenCV (BGR) */
(187, 157, 120)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #789dbb 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.
:root {
--brand-50: #F5F8F9;
--brand-100: #ECF0F4;
--brand-200: #D4DFE7;
--brand-300: #B4C9D9;
--brand-400: #8FAEC7;
--brand-500: #789dbb;
--brand-600: #527FA3;
--brand-700: #446988;
--brand-800: #37546D;
--brand-900: #2B3F50;
--brand-950: #1B2732;
--brand: #789dbb;
--brand-ink: #000000;
}Colors that work with #789dbb
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #789dbb
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | #BB9678 | Directly opposite — maximum tension | |
| Analogous left | #78BBB8 | Neighbour, quieter | |
| Analogous right | #787BBB | Neighbour, quieter | |
| Split-complement 1 | #BB787B | Contrast without the clash | |
| Split-complement 2 | #BBB878 | Contrast without the clash | |
| Triadic 1 | #BB789D | Even thirds — balanced and loud | |
| Triadic 2 | #9DBB78 | Even thirds — balanced and loud | |
| Tetradic | #B878BB | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#789dbb text on a black background
contrast 7.34:1
#789dbb text on a white background
contrast 2.86:1
CSS3 live lab
The quick brown fox
color: #789dbb;
background-color: #789dbb;
Glowing headline
text-shadow: 2px 2px 8px #789dbb;
Soft neon halo
text-shadow: 0 0 14px rgba(120, 157, 187, 0.45);
box-shadow: 0 12px 32px -8px rgba(120, 157, 187, 0.45);
border: 3px solid #789dbb; background: linear-gradient(135deg, #789dbb, #8078BB);
Monochromatic scale
Palettes built from #789dbb
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.
Closest color with a full write-up: Cornflower Blue (#6495ed) — ΔE2000 7.3 away, with its history, psychology and brand usage.
#789dbb in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#789dbb, answered
What color is #789dbb?
#789dbb is a balanced soft blue, closest to Cornflower Blue (ΔE2000 7.3). It sits at 207° on the hue wheel with 33% saturation and 60% lightness, which reads as cool.
What is the RGB value of #789dbb?
rgb(120, 157, 187) — 120 red, 157 green and 187 blue out of 255, or 47.1% / 61.6% / 73.3% by channel.
Is #789dbb a light or a dark color?
It is a mid-tone. Relative luminance is 0.3169 and perceived brightness is 59%, so black text on it reaches 7.34:1.
Should I use black or white text on #789dbb?
Black. It scores 7.34:1 against #789dbb, versus 2.86:1 for white — AAA at any size.
What is the complementary color of #789dbb?
#BB9678 sits directly opposite on the wheel. Softer options are the split-complements #BB787B and #BBB878, which give the same contrast with far less vibration.
What colors go well with #789dbb?
For interface work: #F5F8FA as the surface, #C9D8E4 for borders, #4D7799 for secondary text, #8C4F40 as an accent and #2B4255 for hover and pressed states. For a palette, the analogous pair #78BBB8 and #787BBB stays calm, while #BB9678 is the loudest partner.
What is #789dbb in CMYK for printing?
cmyk(36%, 16%, 0%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #789dbb warm or cool?
Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7884BB; nudged cooler, #658CB5.