Skip to content

#4b7ae2

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

RGB
75, 122, 226
HSL
221°, 72%, 59%
CMYK
67, 46, 0, 11
Luminance
0.2091

At a glance

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

Hex
#4b7ae2
Hue
221°
blue
Saturation
72%
vivid
Lightness
59%
balanced
Brightness
89%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2091
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.18:1
Closest name
Royal Blue
ΔE2000 5.9
Where it sits
Hue221° of 360°
Saturation72%
Lightness59%
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#4b7ae2
RGBrgb(75, 122, 226)
HSLhsl(221, 72%, 59%)
CMYKcmyk(67%, 46%, 0%, 11%)
LABlab(52.8 17.4 -57.7)
LCHlch(52.8 60.3 286.8)
OKLCHoklch(0.599 0.166 263.8)
Decimal4946658
Display P3color(display-p3 0.294 0.478 0.886)

Copy-ready code

/* CSS */
color: #4b7ae2;
background-color: #4b7ae2;
/* Tailwind (arbitrary) */
class="text-[#4b7ae2] bg-[#4b7ae2]"
/* SCSS */
$brand: #4b7ae2;
/* SwiftUI */
Color(red: 0.294, green: 0.478, blue: 0.886)
/* Android */
Color.parseColor("#4b7ae2")
/* Flutter */
Color(0xFF4B7AE2)
/* Python / OpenCV (BGR) */
(226, 122, 75)

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

Accessibility — WCAG contrast

Aa
#4b7ae2 on white: 4.05:1
AA ✗ fail · AA-large · AAA
Aa
#4b7ae2 on black: 5.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4586E6
deuteranopia · #2778E0
tritanopia · #0092A3

Color scale — 50 to 950

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

#F3F6FC
#E7ECF8
#C9D6F3
#9EB8EF
#6E94E8
#4b7ae2
#2259D3
#1C4AB0
#173B8D
#152E66
#0D1D40
Base = 500Lightest = 50 · #F3F6FCDarkest = 950 · #0D1D40
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7ECF8;
  --brand-200: #C9D6F3;
  --brand-300: #9EB8EF;
  --brand-400: #6E94E8;
  --brand-500: #4b7ae2;
  --brand-600: #2259D3;
  --brand-700: #1C4AB0;
  --brand-800: #173B8D;
  --brand-900: #152E66;
  --brand-950: #0D1D40;
  --brand: #4b7ae2;
  --brand-ink: #000000;
}

Colors that work with #4b7ae2

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#B45D18
Second voice, not a rival
Dark variant#122E6E
Hover, pressed, headers
Light variant#E9EFFB
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 #4b7ae2

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#E2B34B
Analogous left#4BC6E2
Analogous right#674BE2
Split-complement 1#E2674B
Split-complement 2#C6E24B
Triadic 1#E24B7A
Triadic 2#7AE24B
Tetradic#E24BC6

RGB percentages

Red29.4%
Green47.8%
Blue88.6%

CMYK percentages

Cyan66.8%
Magenta46.0%
Yellow0.0%
Key (black)11.4%

Color previews

#4b7ae2 text on a black background

contrast 5.18:1

Card sample

#4b7ae2 text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 122, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 122, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b7ae2;
background: linear-gradient(135deg, #4b7ae2, #814BE2);

Monochromatic scale

Palettes built from #4b7ae2

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.

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

#4b7ae2, answered

What color is #4b7ae2?

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

What is the RGB value of #4b7ae2?

rgb(75, 122, 226) — 75 red, 122 green and 226 blue out of 255, or 29.4% / 47.8% / 88.6% by channel.

Is #4b7ae2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2091 and perceived brightness is 50%, so black text on it reaches 5.18:1.

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

Black. It scores 5.18:1 against #4b7ae2, versus 4.05:1 for white — AA at any size.

What is the complementary color of #4b7ae2?

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

What colors go well with #4b7ae2?

For interface work: #F4F6FA as the surface, #C0CEED for borders, #4B649B for secondary text, #B45D18 as an accent and #122E6E for hover and pressed states. For a palette, the analogous pair #4BC6E2 and #674BE2 stays calm, while #E2B34B is the loudest partner.

What is #4b7ae2 in CMYK for printing?

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

Is #4b7ae2 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 #534BE2; nudged cooler, #3379E1.

Work with #4b7ae2 in the Color Lab