Skip to content

#4f86fc

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

RGB
79, 134, 252
HSL
221°, 97%, 65%
CMYK
69, 47, 0, 1
Luminance
0.2574

At a glance

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

Hex
#4f86fc
Hue
221°
blue
Saturation
97%
electric
Lightness
65%
balanced
Brightness
99%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2574
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.15:1
Closest name
Cornflower Blue
ΔE2000 4.7
Where it sits
Hue221° of 360°
Saturation97%
Lightness65%
Temperature
Warm ← → Cool94% 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#4f86fc
RGBrgb(79, 134, 252)
HSLhsl(221, 97%, 65%)
CMYKcmyk(69%, 47%, 0%, 1%)
LABlab(57.8 19.8 -64.2)
LCHlch(57.8 67.2 287.1)
OKLCHoklch(0.643 0.185 263.3)
Decimal5211900
Display P3color(display-p3 0.310 0.525 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f86fc on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#4f86fc on black: 6.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4793FF
deuteranopia · #1D83FA
tritanopia · #00A2B5

Color scale — 50 to 950

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

#F1F5FD
#E4EBFC
#C1D3FB
#91B3FD
#4f86fc
#2267FB
#044FF1
#0342C9
#0335A0
#072974
#041A48
Base = 400Lightest = 50 · #F1F5FDDarkest = 950 · #041A48
:root {
  --brand-50: #F1F5FD;
  --brand-100: #E4EBFC;
  --brand-200: #C1D3FB;
  --brand-300: #91B3FD;
  --brand-400: #4f86fc;
  --brand-500: #2267FB;
  --brand-600: #044FF1;
  --brand-700: #0342C9;
  --brand-800: #0335A0;
  --brand-900: #072974;
  --brand-950: #041A48;
  --brand: #4f86fc;
  --brand-ink: #000000;
}

Colors that work with #4f86fc

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#F4F6FA
Tinted page background
Border#C0CEED
Hairlines and dividers
Muted text#4B649B
Captions on the surface
Accent#CC5800
Second voice, not a rival
Dark variant#02297D
Hover, pressed, headers
Light variant#E6EEFF
Selected rows, tints
Dark surface#141924
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 #4f86fc

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#FCC54F
Analogous left#4FDDFC
Analogous right#6E4FFC
Split-complement 1#FC6E4F
Split-complement 2#DDFC4F
Triadic 1#FC4F86
Triadic 2#86FC4F
Tetradic#FC4FDD

RGB percentages

Red31.0%
Green52.5%
Blue98.8%

CMYK percentages

Cyan68.7%
Magenta46.8%
Yellow0.0%
Key (black)1.2%

Color previews

#4f86fc text on a black background

contrast 6.15:1

Card sample

#4f86fc text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 134, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 134, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f86fc;
background: linear-gradient(135deg, #4f86fc, #8B4FFC);

Monochromatic scale

Palettes built from #4f86fc

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.

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

#4f86fc, answered

What color is #4f86fc?

#4f86fc is a balanced electric blue, closest to Cornflower Blue (ΔE2000 4.7). It sits at 221° on the hue wheel with 97% saturation and 65% lightness, which reads as cool.

What is the RGB value of #4f86fc?

rgb(79, 134, 252) — 79 red, 134 green and 252 blue out of 255, or 31% / 52.5% / 98.8% by channel.

Is #4f86fc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2574 and perceived brightness is 55%, so black text on it reaches 6.15:1.

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

Black. It scores 6.15:1 against #4f86fc, versus 3.42:1 for white — AA at any size.

What is the complementary color of #4f86fc?

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

What colors go well with #4f86fc?

For interface work: #F4F6FA as the surface, #C0CEED for borders, #4B649B for secondary text, #CC5800 as an accent and #02297D for hover and pressed states. For a palette, the analogous pair #4FDDFC and #6E4FFC stays calm, while #FCC54F is the loudest partner.

What is #4f86fc in CMYK for printing?

cmyk(69%, 47%, 0%, 1%). 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 #4f86fc warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #574FFC; nudged cooler, #3484FE.

Work with #4f86fc in the Color Lab