Skip to main content

#4873E6 Royal Blue

#4873E6 is Royal Blue.

#4873E6

Royal Blue

What are the RGB, HSL, OKLCH and CMYK values of #4873E6?

HEX
#4873E6
RGB
rgb(72, 115, 230)
HSL
hsl(224, 76%, 59%)
OKLCH
oklch(58.7% 0.181 266)
CMYK
69, 50, 0, 10

#4873E6 has a contrast ratio of 4.31:1 against white and 4.87:1 against black, so black is the better background for text in this color and dark text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #4873E6
#4873E6
Same color
White
4.3AA18
Near-black
4.1AA18

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #4873E6 · 4.3:1

Tints and shades of #4873E6

Same hue and chroma in OKLCH, lighter to darker.

  1. #F1F5FF
  2. #C2D5FF
  3. #94B5FF
  4. #6792FF
  5. #4873E6
  6. #2E54C5
  7. #1736A4
  8. #061285
  9. #020052

Colors that go with #4873E6

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Royal Blue, #4873E6 and Medium Slate Blue, #896CEB; Cyan Blue, #24B6E1 and Violet, #D690F0 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --royal-blue-1: #4873E6; /* Royal Blue */
}

Palettes, gradients and meshes with #4873E6

Items using this color or one perceptually close to it, closest first (up to 24 palettes and 12 each of gradients and meshes).

Palettes (2)

Gradients (4)

Mesh gradients (5)