Skip to content

#788BAB Color

#788BAB is rgb(120, 139, 171) in RGB, hsl(218, 23%, 57%) in HSL, and about cmyk(30%, 19%, 0%, 33%) in CMYK. It has no registered color name of its own — the closest is Shadow Blue (#778BA5), very hard to tell apart at ΔE 3.38. Black text is the more readable choice on this background.

#788BAB
HEX#788BAB
RGBrgb(120, 139, 171)
HSLhsl(218, 23%, 57%)
HSVhsv(218, 30%, 67%)
CMYKcmyk(30%, 19%, 0%, 33%)
OKLCHoklch(63.3% 0.053 260.8)
LABlab(57.23% -1.29 -19.37)
LCHlch(57.23% 19.41 266.18)

What #788BAB Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #788BAB, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every blue in the library.

#788BAB Channel Values

How #788BAB breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 120 · G 139 · B 1718-bit channels as sent to the display
HSLH 218° · S 23% · L 57%Easiest model for building lighter and darker variants
HSVH 218° · S 30% · V 67%Matches the picker in most design tools
CMYKC 30% · M 19% · Y 0% · K 33%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.45:1 vs white · 6.08:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #788BAB background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text3.45:1AA normal AA large AAA normal
TextBlack text6.08:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #788BAB in the contrast checker.

Colors That Go With #788BAB

Pairings derived from color-wheel relationships. The complementary color sits opposite #788BAB; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #788BAB

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #788BAB.

How #788BAB Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#788BAB
Protanopia#8888AB
Protanomaly#8289AB
Deuteranopia#8585AB
Deuteranomaly#8087AB
Tritanopia#729090
Tritanomaly#758E9B
Achromatopsia#8A8A8A

Test a full palette in the color blindness simulator.

Using #788BAB in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-788bab: #788BAB;
CSS backgroundbackground-color: #788BAB;
Tailwind configcolors: { 'color-788bab': '#788BAB' }
SwiftUIColor(red: 0.471, green: 0.545, blue: 0.671)
Android XML<color name="color_788bab">#788BAB</color>
SVG fillfill="#788BAB"

More Blue Colors

#788BAB sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#788BAB Frequently Asked Questions

What color is #788BAB?

#788BAB is a mid-tone blue — rgb(120, 139, 171) in RGB and hsl(218, 23%, 57%) in HSL. It carries no registered color name of its own; the closest named color is Shadow Blue (#778BA5), which is very hard to tell apart at a CIE76 distance of 3.38.

What is the RGB value of #788BAB?

#788BAB is rgb(120, 139, 171) — red 120, green 139, and blue 171 on the 0-255 scale.

What is the CMYK value of #788BAB?

#788BAB converts to approximately cmyk(30%, 19%, 0%, 33%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #788BAB be black or white?

Black text is the more readable choice. #788BAB scores 3.45:1 against white and 6.08:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #788BAB as a CSS color keyword?

No. #788BAB is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is lightslategray (#778899) at a CIE76 distance of 8.49, which is clearly related but distinguishable side by side.

Open #788BAB in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.