Skip to content

#4f6bdf

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

RGB
79, 107, 223
HSL
228°, 69%, 59%
CMYK
65, 52, 0, 13
Luminance
0.1751

At a glance

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

Hex
#4f6bdf
Hue
228°
blue
Saturation
69%
vivid
Lightness
59%
balanced
Brightness
87%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1751
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
4.67:1
Closest name
Royal Blue
ΔE2000 1.7
Where it sits
Hue228° of 360°
Saturation69%
Lightness59%
Temperature
Warm ← → Cool90% 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#4f6bdf
RGBrgb(79, 107, 223)
HSLhsl(228, 69%, 59%)
CMYKcmyk(65%, 52%, 0%, 13%)
LABlab(48.9 26.4 -62.4)
LCHlch(48.9 67.7 292.9)
OKLCHoklch(0.569 0.179 269.7)
Decimal5204959
Display P3color(display-p3 0.310 0.420 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f6bdf on white: 4.67:1
AA ✓ pass · AA-large · AAA
Aa
#4f6bdf on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #217BE3
deuteranopia · #006EDD
tritanopia · #00869B

Color scale — 50 to 950

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

#F3F5FB
#E7EBF8
#CAD2F2
#A0AFEE
#7187E5
#4f6bdf
#2647CF
#1F3BAD
#192F8A
#162564
#0E173F
Base = 500Lightest = 50 · #F3F5FBDarkest = 950 · #0E173F
:root {
  --brand-50: #F3F5FB;
  --brand-100: #E7EBF8;
  --brand-200: #CAD2F2;
  --brand-300: #A0AFEE;
  --brand-400: #7187E5;
  --brand-500: #4f6bdf;
  --brand-600: #2647CF;
  --brand-700: #1F3BAD;
  --brand-800: #192F8A;
  --brand-900: #162564;
  --brand-950: #0E173F;
  --brand: #4f6bdf;
  --brand-ink: #ffffff;
}

Colors that work with #4f6bdf

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#F4F5FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5A9B
Captions on the surface
Accent#B16E1B
Second voice, not a rival
Dark variant#14256C
Hover, pressed, headers
Light variant#E9EDFB
Selected rows, tints
Dark surface#141724
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 #4f6bdf

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

Works well for
  • Body text and links 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
  • 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#DFC34F
Analogous left#4FB3DF
Analogous right#7B4FDF
Split-complement 1#DF7B4F
Split-complement 2#B3DF4F
Triadic 1#DF4F6B
Triadic 2#6BDF4F
Tetradic#DF4FB3

RGB percentages

Red31.0%
Green42.0%
Blue87.5%

CMYK percentages

Cyan64.6%
Magenta52.0%
Yellow0.0%
Key (black)12.5%

Color previews

#4f6bdf text on a black background

contrast 4.50:1

Card sample

#4f6bdf text on a white background

contrast 4.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 107, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 107, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f6bdf;
background: linear-gradient(135deg, #4f6bdf, #934FDF);

Monochromatic scale

Palettes built from #4f6bdf

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.

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

#4f6bdf, answered

What color is #4f6bdf?

#4f6bdf is a balanced vivid blue, closest to Royal Blue (ΔE2000 1.7). It sits at 228° on the hue wheel with 69% saturation and 59% lightness, which reads as cool.

What is the RGB value of #4f6bdf?

rgb(79, 107, 223) — 79 red, 107 green and 223 blue out of 255, or 31% / 42% / 87.5% by channel.

Is #4f6bdf a light or a dark color?

It is a dark color. Relative luminance is 0.1751 and perceived brightness is 47%, so white text on it reaches 4.67:1.

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

White. It scores 4.67:1 against #4f6bdf, versus 4.50:1 for black — AA at any size.

What is the complementary color of #4f6bdf?

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

What colors go well with #4f6bdf?

For interface work: #F4F5FA as the surface, #C0C9ED for borders, #4B5A9B for secondary text, #B16E1B as an accent and #14256C for hover and pressed states. For a palette, the analogous pair #4FB3DF and #7B4FDF stays calm, while #DFC34F is the loudest partner.

What is #4f6bdf in CMYK for printing?

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

Is #4f6bdf warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #684FDF; nudged cooler, #4D81E1.

Work with #4f6bdf in the Color Lab