Skip to main content

#012A2A Midnight Teal

#012A2A is Midnight Teal.

#012A2A

Midnight Teal

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

HEX
#012A2A
RGB
rgb(1, 42, 42)
HSL
hsl(180, 95%, 8%)
OKLCH
oklch(25.8% 0.043 195)
CMYK
98, 0, 0, 84

#012A2A has a contrast ratio of 15.37:1 against white and 1.37: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 → #012A2A
#012A2A
Same color
White
15.4AAA
Near-black
1.1Fail

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 #012A2A · 15.4:1

Tints and shades of #012A2A

Same hue and chroma in OKLCH, lighter to darker.

  1. #D5FFFE
  2. #B5DFDE
  3. #97C0BF
  4. #7AA1A1
  5. #5D8484
  6. #426868
  7. #274D4D
  8. #012A2A
  9. #001B1B

Colors that go with #012A2A

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. Prussian Blue, #022E5A and Navy, #03037A become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --midnight-teal-1: #012A2A; /* Midnight Teal */
}

Palettes, gradients and meshes with #012A2A

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