Skip to content

#7f89cd

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

RGB
127, 137, 205
HSL
232°, 44%, 65%
CMYK
38, 33, 0, 20
Luminance
0.2681

At a glance

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

Hex
#7f89cd
Hue
232°
blue
Saturation
44%
soft
Lightness
65%
light
Brightness
80%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2681
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
6.36:1
Closest name
Cornflower Blue
ΔE2000 9.3
Where it sits
Hue232° of 360°
Saturation44%
Lightness65%
Temperature
Warm ← → Cool88% 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#7f89cd
RGBrgb(127, 137, 205)
HSLhsl(232, 44%, 65%)
CMYKcmyk(38%, 33%, 0%, 20%)
LABlab(58.8 13.1 -36.3)
LCHlch(58.8 38.6 289.8)
OKLCHoklch(0.650 0.102 276.8)
Decimal8358349
Display P3color(display-p3 0.498 0.537 0.804)

Copy-ready code

/* CSS */
color: #7f89cd;
background-color: #7f89cd;
/* Tailwind (arbitrary) */
class="text-[#7f89cd] bg-[#7f89cd]"
/* SCSS */
$brand: #7f89cd;
/* SwiftUI */
Color(red: 0.498, green: 0.537, blue: 0.804)
/* Android */
Color.parseColor("#7f89cd")
/* Flutter */
Color(0xFF7F89CD)
/* Python / OpenCV (BGR) */
(205, 137, 127)

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 #7f89cd · 6.36:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.30:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.36:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #7f89cd as text scores 3.30:1 on white and 6.36:1 on black.

Accessibility — WCAG contrast

Aa
#7f89cd on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#7f89cd on black: 6.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7391D0
deuteranopia · #6D8BCB
tritanopia · #6896A2

Color scale — 50 to 950

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

#F5F5FA
#EAECF5
#D1D4EB
#AEB5DF
#7f89cd
#5E6AC0
#4553B0
#394593
#2E3775
#252B56
#171B36
Base = 400Lightest = 50 · #F5F5FADarkest = 950 · #171B36
:root {
  --brand-50: #F5F5FA;
  --brand-100: #EAECF5;
  --brand-200: #D1D4EB;
  --brand-300: #AEB5DF;
  --brand-400: #7f89cd;
  --brand-500: #5E6AC0;
  --brand-600: #4553B0;
  --brand-700: #394593;
  --brand-800: #2E3775;
  --brand-900: #252B56;
  --brand-950: #171B36;
  --brand: #7f89cd;
  --brand-ink: #000000;
}

Colors that work with #7f89cd

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#F4F5FA
Tinted page background
Border#C4C9E8
Hairlines and dividers
Muted text#4B559B
Captions on the surface
Accent#977135
Second voice, not a rival
Dark variant#242B5C
Hover, pressed, headers
Light variant#EDEEF8
Selected rows, tints
Dark surface#141624
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 #7f89cd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • White text placed on it
  • 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#CDC37F
Analogous left#7FB0CD
Analogous right#9C7FCD
Split-complement 1#CD9C7F
Split-complement 2#B0CD7F
Triadic 1#CD7F89
Triadic 2#89CD7F
Tetradic#CD7FB0

RGB percentages

Red49.8%
Green53.7%
Blue80.4%

CMYK percentages

Cyan38.0%
Magenta33.2%
Yellow0.0%
Key (black)19.6%

Color previews

#7f89cd text on a black background

contrast 6.36:1

Card sample

#7f89cd text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 137, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 137, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7f89cd;
background: linear-gradient(135deg, #7f89cd, #A97FCD);

Monochromatic scale

Palettes built from #7f89cd

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.

#7f89cd 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#7f89cd, answered

What color is #7f89cd?

#7f89cd is a light soft blue, closest to Cornflower Blue (ΔE2000 9.3). It sits at 232° on the hue wheel with 44% saturation and 65% lightness, which reads as cool.

What is the RGB value of #7f89cd?

rgb(127, 137, 205) — 127 red, 137 green and 205 blue out of 255, or 49.8% / 53.7% / 80.4% by channel.

Is #7f89cd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2681 and perceived brightness is 56%, so black text on it reaches 6.36:1.

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

Black. It scores 6.36:1 against #7f89cd, versus 3.30:1 for white — AA at any size.

What is the complementary color of #7f89cd?

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

What colors go well with #7f89cd?

For interface work: #F4F5FA as the surface, #C4C9E8 for borders, #4B559B for secondary text, #977135 as an accent and #242B5C for hover and pressed states. For a palette, the analogous pair #7FB0CD and #9C7FCD stays calm, while #CDC37F is the loudest partner.

What is #7f89cd in CMYK for printing?

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

Is #7f89cd warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #927FCD; nudged cooler, #7D9CCF.

Work with #7f89cd in the Color Lab