Skip to content

#4f6dcf

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

RGB
79, 109, 207
HSL
226°, 57%, 56%
CMYK
62, 47, 0, 19
Luminance
0.1710

At a glance

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

Hex
#4f6dcf
Hue
226°
blue
Saturation
57%
vivid
Lightness
56%
balanced
Brightness
81%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1710
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
4.75:1
Closest name
Royal Blue
ΔE2000 2.6
Where it sits
Hue226° of 360°
Saturation57%
Lightness56%
Temperature
Warm ← → Cool91% 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#4f6dcf
RGBrgb(79, 109, 207)
HSLhsl(226, 57%, 56%)
CMYKcmyk(62%, 47%, 0%, 19%)
LABlab(48.4 19.6 -54.1)
LCHlch(48.4 57.5 289.9)
OKLCHoklch(0.562 0.155 268.3)
Decimal5205455
Display P3color(display-p3 0.310 0.427 0.812)

Copy-ready code

/* CSS */
color: #4f6dcf;
background-color: #4f6dcf;
/* Tailwind (arbitrary) */
class="text-[#4f6dcf] bg-[#4f6dcf]"
/* SCSS */
$brand: #4f6dcf;
/* SwiftUI */
Color(red: 0.310, green: 0.427, blue: 0.812)
/* Android */
Color.parseColor("#4f6dcf")
/* Flutter */
Color(0xFF4F6DCF)
/* Python / OpenCV (BGR) */
(207, 109, 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#ffffff on #4f6dcf · 4.75:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.75:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.42:1
AA fail · AA large pass · AAA fail
Reading the other direction: #4f6dcf as text scores 4.75:1 on white and 4.42:1 on black.

Accessibility — WCAG contrast

Aa
#4f6dcf on white: 4.75:1
AA ✓ pass · AA-large · AAA
Aa
#4f6dcf on black: 4.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3C79D3
deuteranopia · #256DCD
tritanopia · #008394

Color scale — 50 to 950

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

#F4F6FB
#E9ECF7
#CDD5EF
#A7B6E7
#7B91DB
#4f6dcf
#3555C0
#2C47A0
#233980
#1D2C5D
#121C3A
Base = 500Lightest = 50 · #F4F6FBDarkest = 950 · #121C3A
:root {
  --brand-50: #F4F6FB;
  --brand-100: #E9ECF7;
  --brand-200: #CDD5EF;
  --brand-300: #A7B6E7;
  --brand-400: #7B91DB;
  --brand-500: #4f6dcf;
  --brand-600: #3555C0;
  --brand-700: #2C47A0;
  --brand-800: #233980;
  --brand-900: #1D2C5D;
  --brand-950: #121C3A;
  --brand: #4f6dcf;
  --brand-ink: #ffffff;
}

Colors that work with #4f6dcf

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#F4F6FA
Tinted page background
Border#C0CAED
Hairlines and dividers
Muted text#4B5D9B
Captions on the surface
Accent#A46828
Second voice, not a rival
Dark variant#1B2C64
Hover, pressed, headers
Light variant#EBEEFA
Selected rows, tints
Dark surface#141824
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 #4f6dcf

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#CFB14F
Analogous left#4FADCF
Analogous right#714FCF
Split-complement 1#CF714F
Split-complement 2#ADCF4F
Triadic 1#CF4F6D
Triadic 2#6DCF4F
Tetradic#CF4FAD

RGB percentages

Red31.0%
Green42.7%
Blue81.2%

CMYK percentages

Cyan61.8%
Magenta47.3%
Yellow0.0%
Key (black)18.8%

Color previews

#4f6dcf text on a black background

contrast 4.42:1

Card sample

#4f6dcf text on a white background

contrast 4.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f6dcf

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.

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

#4f6dcf, answered

What color is #4f6dcf?

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

What is the RGB value of #4f6dcf?

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

Is #4f6dcf a light or a dark color?

It is a dark color. Relative luminance is 0.1710 and perceived brightness is 46%, so white text on it reaches 4.75:1.

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

White. It scores 4.75:1 against #4f6dcf, versus 4.42:1 for black — AA at any size.

What is the complementary color of #4f6dcf?

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

What colors go well with #4f6dcf?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5D9B for secondary text, #A46828 as an accent and #1B2C64 for hover and pressed states. For a palette, the analogous pair #4FADCF and #714FCF stays calm, while #CFB14F is the loudest partner.

What is #4f6dcf in CMYK for printing?

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

Is #4f6dcf warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #604FCF; nudged cooler, #4D7FD1.

Work with #4f6dcf in the Color Lab