Skip to content

#4f9ecf

a balanced, vivid blue · cool · closest name: Dodger Blue

RGB
79, 158, 207
HSL
203°, 57%, 56%
CMYK
62, 24, 0, 19
Luminance
0.3062

At a glance

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

Hex
#4f9ecf
Hue
203°
blue
Saturation
57%
vivid
Lightness
56%
balanced
Brightness
81%
HSV value
Perceived
57%
weighted brightness
Luminance
0.3062
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.12:1
Closest name
Dodger Blue
ΔE2000 8
Where it sits
Hue203° of 360°
Saturation57%
Lightness56%
Temperature
Warm ← → Cool97% 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#4f9ecf
RGBrgb(79, 158, 207)
HSLhsl(203, 57%, 56%)
CMYKcmyk(62%, 24%, 0%, 19%)
LABlab(62.2 -9.5 -32.3)
LCHlch(62.2 33.7 253.6)
OKLCHoklch(0.670 0.106 238.4)
Decimal5217999
Display P3color(display-p3 0.310 0.620 0.812)

Copy-ready code

/* CSS */
color: #4f9ecf;
background-color: #4f9ecf;
/* Tailwind (arbitrary) */
class="text-[#4f9ecf] bg-[#4f9ecf]"
/* SCSS */
$brand: #4f9ecf;
/* SwiftUI */
Color(red: 0.310, green: 0.620, blue: 0.812)
/* Android */
Color.parseColor("#4f9ecf")
/* Flutter */
Color(0xFF4F9ECF)
/* Python / OpenCV (BGR) */
(207, 158, 79)

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 #4f9ecf · 7.12:1
Use #000000AAA at every size.
Aa
White text · 2.95:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.12:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #4f9ecf as text scores 2.95:1 on white and 7.12:1 on black.

Accessibility — WCAG contrast

Aa
#4f9ecf on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#4f9ecf on black: 7.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #879ED1
deuteranopia · #7691CE
tritanopia · #00AAAF

Color scale — 50 to 950

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

#F4F8FB
#E9F1F7
#CDE2EF
#A7CEE7
#7BB6DB
#4f9ecf
#358BC0
#2C74A0
#235C80
#1D455D
#122B3A
Base = 500Lightest = 50 · #F4F8FBDarkest = 950 · #122B3A
:root {
  --brand-50: #F4F8FB;
  --brand-100: #E9F1F7;
  --brand-200: #CDE2EF;
  --brand-300: #A7CEE7;
  --brand-400: #7BB6DB;
  --brand-500: #4f9ecf;
  --brand-600: #358BC0;
  --brand-700: #2C74A0;
  --brand-800: #235C80;
  --brand-900: #1D455D;
  --brand-950: #122B3A;
  --brand: #4f9ecf;
  --brand-ink: #000000;
}

Colors that work with #4f9ecf

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#C0DBED
Hairlines and dividers
Muted text#4B7C9B
Captions on the surface
Accent#D35D4B
Second voice, not a rival
Dark variant#1B4864
Hover, pressed, headers
Light variant#EBF4FA
Selected rows, tints
Dark surface#141E24
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 #4f9ecf

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#CF804F
Analogous left#4FCFC0
Analogous right#4F5ECF
Split-complement 1#CF4F5E
Split-complement 2#CFC04F
Triadic 1#CF4F9E
Triadic 2#9ECF4F
Tetradic#C04FCF

RGB percentages

Red31.0%
Green62.0%
Blue81.2%

CMYK percentages

Cyan61.8%
Magenta23.7%
Yellow0.0%
Key (black)18.8%

Color previews

#4f9ecf text on a black background

contrast 7.12:1

Card sample

#4f9ecf text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 158, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 158, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f9ecf;
background: linear-gradient(135deg, #4f9ecf, #564FCF);

Monochromatic scale

Palettes built from #4f9ecf

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.

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

#4f9ecf, answered

What color is #4f9ecf?

#4f9ecf is a balanced vivid blue, closest to Dodger Blue (ΔE2000 8). It sits at 203° on the hue wheel with 57% saturation and 56% lightness, which reads as cool.

What is the RGB value of #4f9ecf?

rgb(79, 158, 207) — 79 red, 158 green and 207 blue out of 255, or 31% / 62% / 81.2% by channel.

Is #4f9ecf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3062 and perceived brightness is 57%, so black text on it reaches 7.12:1.

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

Black. It scores 7.12:1 against #4f9ecf, versus 2.95:1 for white — AAA at any size.

What is the complementary color of #4f9ecf?

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

What colors go well with #4f9ecf?

For interface work: #F4F8FA as the surface, #C0DBED for borders, #4B7C9B for secondary text, #D35D4B as an accent and #1B4864 for hover and pressed states. For a palette, the analogous pair #4FCFC0 and #4F5ECF stays calm, while #CF804F is the loudest partner.

What is #4f9ecf in CMYK for printing?

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

Is #4f9ecf warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4FCDCF; nudged cooler, #3987CC.

Work with #4f9ecf in the Color Lab