Skip to main content

#0C3140 Navy Blue

The nearest named color to #0C3140 is Navy Blue (#1F2A44).

#0C3140

Navy Blue

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

HEX
#0C3140
RGB
rgb(12, 49, 64)
HSL
hsl(197, 68%, 15%)
OKLCH
oklch(29.5% 0.049 229)
CMYK
81, 23, 0, 75

#0C3140 has a contrast ratio of 13.73:1 against white and 1.53: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 → #0C3140
#0C3140
Same color
White
13.7AAA
Near-black
1.3Fail

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 #0C3140 · 13.7:1

Tints and shades of #0C3140

Same hue and chroma in OKLCH, lighter to darker.

  1. #E9F8FF
  2. #B5DCF0
  3. #97BDD0
  4. #7A9FB1
  5. #5D8293
  6. #426676
  7. #274B5B
  8. #0C3140
  9. #001924

Colors that go with #0C3140

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. Navy Blue, #0C3140 and Midnight Blue, #122362; Midnight Blue, #122362 and Indigo, #381985 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --navy-blue-1: #0C3140; /* Navy Blue */
}

Palettes, gradients and meshes with #0C3140

Items using this color or one perceptually close to it, closest first.