Skip to content

#4875c2

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

RGB
72, 117, 194
HSL
218°, 50%, 52%
CMYK
63, 40, 0, 24
Luminance
0.1800

At a glance

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

Hex
#4875c2
Hue
218°
blue
Saturation
50%
vivid
Lightness
52%
balanced
Brightness
76%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1800
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.60:1
Closest name
Royal Blue
ΔE2000 5.6
Where it sits
Hue218° of 360°
Saturation50%
Lightness52%
Temperature
Warm ← → Cool96% 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#4875c2
RGBrgb(72, 117, 194)
HSLhsl(218, 50%, 52%)
CMYKcmyk(63%, 40%, 0%, 24%)
LABlab(49.5 8.9 -44.9)
LCHlch(49.5 45.8 281.2)
OKLCHoklch(0.567 0.130 260.5)
Decimal4748738
Display P3color(display-p3 0.282 0.459 0.761)

Copy-ready code

/* CSS */
color: #4875c2;
background-color: #4875c2;
/* Tailwind (arbitrary) */
class="text-[#4875c2] bg-[#4875c2]"
/* SCSS */
$brand: #4875c2;
/* SwiftUI */
Color(red: 0.282, green: 0.459, blue: 0.761)
/* Android */
Color.parseColor("#4875c2")
/* Flutter */
Color(0xFF4875C2)
/* Python / OpenCV (BGR) */
(194, 117, 72)

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

Accessibility — WCAG contrast

Aa
#4875c2 on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#4875c2 on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #537CC5
deuteranopia · #4270C0
tritanopia · #008692

Color scale — 50 to 950

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

#F4F7FA
#EAEEF6
#CFDAEC
#ABC0E3
#81A0D5
#4875c2
#3D6AB8
#335999
#29477A
#213659
#152238
Base = 500Lightest = 50 · #F4F7FADarkest = 950 · #152238
:root {
  --brand-50: #F4F7FA;
  --brand-100: #EAEEF6;
  --brand-200: #CFDAEC;
  --brand-300: #ABC0E3;
  --brand-400: #81A0D5;
  --brand-500: #4875c2;
  --brand-600: #3D6AB8;
  --brand-700: #335999;
  --brand-800: #29477A;
  --brand-900: #213659;
  --brand-950: #152238;
  --brand: #4875c2;
  --brand-ink: #000000;
}

Colors that work with #4875c2

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#F4F7FA
Tinted page background
Border#C2D1EB
Hairlines and dividers
Muted text#4B689B
Captions on the surface
Accent#C77643
Second voice, not a rival
Dark variant#203760
Hover, pressed, headers
Light variant#ECF1F9
Selected rows, tints
Dark surface#141A24
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 #4875c2

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#C29548
Analogous left#48B2C2
Analogous right#5848C2
Split-complement 1#C25848
Split-complement 2#B2C248
Triadic 1#C24875
Triadic 2#75C248
Tetradic#C248B2

RGB percentages

Red28.2%
Green45.9%
Blue76.1%

CMYK percentages

Cyan62.9%
Magenta39.7%
Yellow0.0%
Key (black)23.9%

Color previews

#4875c2 text on a black background

contrast 4.60:1

Card sample

#4875c2 text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4875c2;
Background color
Panel with #4875c2 background
background-color: #4875c2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4875c2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(72, 117, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 117, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4875c2;
background: linear-gradient(135deg, #4875c2, #6D48C2);

Monochromatic scale

Palettes built from #4875c2

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.

#4875c2 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.

#4875c2, answered

What color is #4875c2?

#4875c2 is a balanced vivid blue, closest to Royal Blue (ΔE2000 5.6). It sits at 218° on the hue wheel with 50% saturation and 52% lightness, which reads as cool.

What is the RGB value of #4875c2?

rgb(72, 117, 194) — 72 red, 117 green and 194 blue out of 255, or 28.2% / 45.9% / 76.1% by channel.

Is #4875c2 a light or a dark color?

It is a dark color. Relative luminance is 0.1800 and perceived brightness is 46%, so black text on it reaches 4.60:1.

Should I use black or white text on #4875c2?

Black. It scores 4.60:1 against #4875c2, versus 4.57:1 for white — AA at any size.

What is the complementary color of #4875c2?

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

What colors go well with #4875c2?

For interface work: #F4F7FA as the surface, #C2D1EB for borders, #4B689B for secondary text, #C77643 as an accent and #203760 for hover and pressed states. For a palette, the analogous pair #48B2C2 and #5848C2 stays calm, while #C29548 is the loudest partner.

What is #4875c2 in CMYK for printing?

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

Is #4875c2 warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4848C2; nudged cooler, #3A70B7.

Work with #4875c2 in the Color Lab