Skip to content

#4d73af

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

RGB
77, 115, 175
HSL
217°, 39%, 49%
CMYK
56, 34, 0, 31
Luminance
0.1693

At a glance

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

Hex
#4d73af
Hue
217°
blue
Saturation
39%
soft
Lightness
49%
balanced
Brightness
69%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1693
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Soft
Best ink
White
4.79:1
Closest name
Royal Blue
ΔE2000 6.5
Where it sits
Hue217° of 360°
Saturation39%
Lightness49%
Temperature
Warm ← → Cool96% 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#4d73af
RGBrgb(77, 115, 175)
HSLhsl(217, 39%, 49%)
CMYKcmyk(56%, 34%, 0%, 31%)
LABlab(48.2 4.7 -36.0)
LCHlch(48.2 36.3 277.4)
OKLCHoklch(0.554 0.103 259.2)
Decimal5075887
Display P3color(display-p3 0.302 0.451 0.686)

Copy-ready code

/* CSS */
color: #4d73af;
background-color: #4d73af;
/* Tailwind (arbitrary) */
class="text-[#4d73af] bg-[#4d73af]"
/* SCSS */
$brand: #4d73af;
/* SwiftUI */
Color(red: 0.302, green: 0.451, blue: 0.686)
/* Android */
Color.parseColor("#4d73af")
/* Flutter */
Color(0xFF4D73AF)
/* Python / OpenCV (BGR) */
(175, 115, 77)

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

Accessibility — WCAG contrast

Aa
#4d73af on white: 4.79:1
AA ✓ pass · AA-large · AAA
Aa
#4d73af on black: 4.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5B77B2
deuteranopia · #4E6EAE
tritanopia · #0B8089

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4d73af is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F7FA
#EBEFF4
#D3DBE9
#B1C2DD
#8AA4CC
#6385BA
#4d73af
#3E5D8E
#324B71
#273853
#192334
Base = 600Lightest = 50 · #F5F7FADarkest = 950 · #192334
:root {
  --brand-50: #F5F7FA;
  --brand-100: #EBEFF4;
  --brand-200: #D3DBE9;
  --brand-300: #B1C2DD;
  --brand-400: #8AA4CC;
  --brand-500: #6385BA;
  --brand-600: #4d73af;
  --brand-700: #3E5D8E;
  --brand-800: #324B71;
  --brand-900: #273853;
  --brand-950: #192334;
  --brand: #4d73af;
  --brand-ink: #ffffff;
}

Colors that work with #4d73af

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F7FA
Tinted page background
Border#C6D3E6
Hairlines and dividers
Muted text#4B6A9B
Captions on the surface
Accent#B46F48
Second voice, not a rival
Dark variant#273A59
Hover, pressed, headers
Light variant#EDF1F7
Selected rows, tints
Dark surface#141A24
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 #4d73af

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#AF894D
Analogous left#4DA4AF
Analogous right#584DAF
Split-complement 1#AF584D
Split-complement 2#A4AF4D
Triadic 1#AF4D73
Triadic 2#73AF4D
Tetradic#AF4DA4

RGB percentages

Red30.2%
Green45.1%
Blue68.6%

CMYK percentages

Cyan56.0%
Magenta34.3%
Yellow0.0%
Key (black)31.4%

Color previews

#4d73af text on a black background

contrast 4.39:1

Card sample

#4d73af text on a white background

contrast 4.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4d73af;
Background color
Panel with #4d73af background
background-color: #4d73af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4d73af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(77, 115, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 115, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4d73af;
background: linear-gradient(135deg, #4d73af, #684DAF);

Monochromatic scale

Palettes built from #4d73af

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.

#4d73af 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.

#4d73af, answered

What color is #4d73af?

#4d73af is a balanced soft blue, closest to Royal Blue (ΔE2000 6.5). It sits at 217° on the hue wheel with 39% saturation and 49% lightness, which reads as cool.

What is the RGB value of #4d73af?

rgb(77, 115, 175) — 77 red, 115 green and 175 blue out of 255, or 30.2% / 45.1% / 68.6% by channel.

Is #4d73af a light or a dark color?

It is a dark color. Relative luminance is 0.1693 and perceived brightness is 45%, so white text on it reaches 4.79:1.

Should I use black or white text on #4d73af?

White. It scores 4.79:1 against #4d73af, versus 4.39:1 for black — AA at any size.

What is the complementary color of #4d73af?

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

What colors go well with #4d73af?

For interface work: #F4F7FA as the surface, #C6D3E6 for borders, #4B6A9B for secondary text, #B46F48 as an accent and #273A59 for hover and pressed states. For a palette, the analogous pair #4DA4AF and #584DAF stays calm, while #AF894D is the loudest partner.

What is #4d73af in CMYK for printing?

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

Is #4d73af 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 #4D4FAF; nudged cooler, #436CA0.

Work with #4d73af in the Color Lab