Skip to content

#4f9cf6

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

RGB
79, 156, 246
HSL
212°, 90%, 64%
CMYK
68, 37, 0, 4
Luminance
0.3209

At a glance

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

Hex
#4f9cf6
Hue
212°
blue
Saturation
90%
electric
Lightness
64%
balanced
Brightness
96%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3209
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.42:1
Closest name
Dodger Blue
ΔE2000 3.9
Where it sits
Hue212° of 360°
Saturation90%
Lightness64%
Temperature
Warm ← → Cool99% 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#4f9cf6
RGBrgb(79, 156, 246)
HSLhsl(212, 90%, 64%)
CMYKcmyk(68%, 37%, 0%, 4%)
LABlab(63.4 4.6 -51.9)
LCHlch(63.4 52.1 275.0)
OKLCHoklch(0.685 0.154 253.9)
Decimal5217526
Display P3color(display-p3 0.310 0.612 0.965)

Copy-ready code

/* CSS */
color: #4f9cf6;
background-color: #4f9cf6;
/* Tailwind (arbitrary) */
class="text-[#4f9cf6] bg-[#4f9cf6]"
/* SCSS */
$brand: #4f9cf6;
/* SwiftUI */
Color(red: 0.310, green: 0.612, blue: 0.965)
/* Android */
Color.parseColor("#4f9cf6")
/* Flutter */
Color(0xFF4F9CF6)
/* Python / OpenCV (BGR) */
(246, 156, 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 #4f9cf6 · 7.42:1
Use #000000AAA at every size.
Aa
White text · 2.83:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.42:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #4f9cf6 as text scores 2.83:1 on white and 7.42:1 on black.

Accessibility — WCAG contrast

Aa
#4f9cf6 on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#4f9cf6 on black: 7.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #73A2FA
deuteranopia · #5B92F4
tritanopia · #00B1BD

Color scale — 50 to 950

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

#F2F7FD
#E5EFFB
#C3DCF8
#94C3FA
#4f9cf6
#2987F4
#0C72E9
#0A5FC2
#084C9B
#0A3970
#062446
Base = 400Lightest = 50 · #F2F7FDDarkest = 950 · #062446
:root {
  --brand-50: #F2F7FD;
  --brand-100: #E5EFFB;
  --brand-200: #C3DCF8;
  --brand-300: #94C3FA;
  --brand-400: #4f9cf6;
  --brand-500: #2987F4;
  --brand-600: #0C72E9;
  --brand-700: #0A5FC2;
  --brand-800: #084C9B;
  --brand-900: #0A3970;
  --brand-950: #062446;
  --brand: #4f9cf6;
  --brand-ink: #000000;
}

Colors that work with #4f9cf6

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#F4F7FA
Tinted page background
Border#C0D4ED
Hairlines and dividers
Muted text#4B709B
Captions on the surface
Accent#C63D06
Second voice, not a rival
Dark variant#063B79
Hover, pressed, headers
Light variant#E7F1FE
Selected rows, tints
Dark surface#141B24
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 #4f9cf6

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#F6A94F
Analogous left#4FF0F6
Analogous right#554FF6
Split-complement 1#F6554F
Split-complement 2#F0F64F
Triadic 1#F64F9C
Triadic 2#9CF64F
Tetradic#F64FF0

RGB percentages

Red31.0%
Green61.2%
Blue96.5%

CMYK percentages

Cyan67.9%
Magenta36.6%
Yellow0.0%
Key (black)3.5%

Color previews

#4f9cf6 text on a black background

contrast 7.42:1

Card sample

#4f9cf6 text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 156, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 156, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f9cf6;
background: linear-gradient(135deg, #4f9cf6, #714FF6);

Monochromatic scale

Palettes built from #4f9cf6

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.

#4f9cf6 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#4f9cf6, answered

What color is #4f9cf6?

#4f9cf6 is a balanced electric blue, closest to Dodger Blue (ΔE2000 3.9). It sits at 212° on the hue wheel with 90% saturation and 64% lightness, which reads as cool.

What is the RGB value of #4f9cf6?

rgb(79, 156, 246) — 79 red, 156 green and 246 blue out of 255, or 31% / 61.2% / 96.5% by channel.

Is #4f9cf6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3209 and perceived brightness is 60%, so black text on it reaches 7.42:1.

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

Black. It scores 7.42:1 against #4f9cf6, versus 2.83:1 for white — AAA at any size.

What is the complementary color of #4f9cf6?

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

What colors go well with #4f9cf6?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B709B for secondary text, #C63D06 as an accent and #063B79 for hover and pressed states. For a palette, the analogous pair #4FF0F6 and #554FF6 stays calm, while #F6A94F is the loudest partner.

What is #4f9cf6 in CMYK for printing?

cmyk(68%, 37%, 0%, 4%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #4f9cf6 warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4F5FF6; nudged cooler, #348FF7.

Work with #4f9cf6 in the Color Lab