Skip to main content

#051728 Dark Navy

#051728 is Dark Navy.

#051728

Dark Navy

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

HEX
#051728
RGB
rgb(5, 23, 40)
HSL
hsl(209, 78%, 9%)
OKLCH
oklch(19.9% 0.042 249)
CMYK
87, 42, 0, 84

#051728 has a contrast ratio of 18.11:1 against white and 1.16:1 against black, so white is the better background for text in this color and light 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 → #051728
#051728
Same color
White
18.1AAA
Near-black
1.0Fail

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 #051728 · 18.1:1

Tints and shades of #051728

Same hue and chroma in OKLCH, lighter to darker.

  1. #EEF6FF
  2. #C1D9F1
  3. #A2BAD1
  4. #859BB2
  5. #697E94
  6. #4D6277
  7. #34485C
  8. #1B2F41
  9. #051728

Colors that go with #051728

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. Dark Navy, #051728 and Midnight Blue, #0A0B52 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --dark-navy-1: #051728; /* Dark Navy */
}

Palettes, gradients and meshes with #051728

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