Skip to content

#4e7ade

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

RGB
78, 122, 222
HSL
222°, 69%, 59%
CMYK
65, 45, 0, 13
Luminance
0.2081

At a glance

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

Hex
#4e7ade
Hue
222°
blue
Saturation
69%
vivid
Lightness
59%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2081
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.16:1
Closest name
Royal Blue
ΔE2000 5.9
Where it sits
Hue222° of 360°
Saturation69%
Lightness59%
Temperature
Warm ← → Cool93% 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#4e7ade
RGBrgb(78, 122, 222)
HSLhsl(222, 69%, 59%)
CMYKcmyk(65%, 45%, 0%, 13%)
LABlab(52.7 16.5 -55.6)
LCHlch(52.7 58.0 286.6)
OKLCHoklch(0.598 0.160 264.3)
Decimal5143262
Display P3color(display-p3 0.306 0.478 0.871)

Copy-ready code

/* CSS */
color: #4e7ade;
background-color: #4e7ade;
/* Tailwind (arbitrary) */
class="text-[#4e7ade] bg-[#4e7ade]"
/* SCSS */
$brand: #4e7ade;
/* SwiftUI */
Color(red: 0.306, green: 0.478, blue: 0.871)
/* Android */
Color.parseColor("#4e7ade")
/* Flutter */
Color(0xFF4E7ADE)
/* Python / OpenCV (BGR) */
(222, 122, 78)

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

Accessibility — WCAG contrast

Aa
#4e7ade on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#4e7ade on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4985E2
deuteranopia · #2F78DC
tritanopia · #0091A1

Color scale — 50 to 950

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

#F3F6FB
#E8EDF8
#CAD6F2
#A0B8ED
#7194E5
#4e7ade
#265ACE
#204BAC
#1A3C8A
#172E64
#0E1D3E
Base = 500Lightest = 50 · #F3F6FBDarkest = 950 · #0E1D3E
:root {
  --brand-50: #F3F6FB;
  --brand-100: #E8EDF8;
  --brand-200: #CAD6F2;
  --brand-300: #A0B8ED;
  --brand-400: #7194E5;
  --brand-500: #4e7ade;
  --brand-600: #265ACE;
  --brand-700: #204BAC;
  --brand-800: #1A3C8A;
  --brand-900: #172E64;
  --brand-950: #0E1D3E;
  --brand: #4e7ade;
  --brand-ink: #000000;
}

Colors that work with #4e7ade

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#C0CDED
Hairlines and dividers
Muted text#4B639B
Captions on the surface
Accent#B05E1C
Second voice, not a rival
Dark variant#142F6B
Hover, pressed, headers
Light variant#EAEFFB
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 #4e7ade

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#DEB24E
Analogous left#4EC2DE
Analogous right#6A4EDE
Split-complement 1#DE6A4E
Split-complement 2#C2DE4E
Triadic 1#DE4E7A
Triadic 2#7ADE4E
Tetradic#DE4EC2

RGB percentages

Red30.6%
Green47.8%
Blue87.1%

CMYK percentages

Cyan64.9%
Magenta45.0%
Yellow0.0%
Key (black)12.9%

Color previews

#4e7ade text on a black background

contrast 5.16:1

Card sample

#4e7ade text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(78, 122, 222, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(78, 122, 222, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4e7ade;
background: linear-gradient(135deg, #4e7ade, #824EDE);

Monochromatic scale

Palettes built from #4e7ade

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.

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

#4e7ade, answered

What color is #4e7ade?

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

What is the RGB value of #4e7ade?

rgb(78, 122, 222) — 78 red, 122 green and 222 blue out of 255, or 30.6% / 47.8% / 87.1% by channel.

Is #4e7ade a light or a dark color?

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

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

Black. It scores 5.16:1 against #4e7ade, versus 4.07:1 for white — AA at any size.

What is the complementary color of #4e7ade?

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

What colors go well with #4e7ade?

For interface work: #F4F6FA as the surface, #C0CDED for borders, #4B639B for secondary text, #B05E1C as an accent and #142F6B for hover and pressed states. For a palette, the analogous pair #4EC2DE and #6A4EDE stays calm, while #DEB24E is the loudest partner.

What is #4e7ade in CMYK for printing?

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

Is #4e7ade warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #574EDE; nudged cooler, #3679DC.

Work with #4e7ade in the Color Lab