Skip to main content

#004B6D Petrol

The nearest named color to #004B6D is Petrol (#005F6A).

#004B6D

Petrol

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

HEX
#004B6D
RGB
rgb(0, 75, 109)
HSL
hsl(199, 100%, 21%)
OKLCH
oklch(39.1% 0.085 237)
CMYK
100, 31, 0, 57

#004B6D has a contrast ratio of 9.43:1 against white and 2.23: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 → #004B6D
#004B6D
Same color
White
9.4AAA
Near-black
1.9Fail

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 #004B6D · 9.4:1

Tints and shades of #004B6D

Same hue and chroma in OKLCH, lighter to darker.

  1. #EBF7FF
  2. #A9DDFF
  3. #81BFE7
  4. #63A1C7
  5. #4683A8
  6. #28678A
  7. #004B6D
  8. #003149
  9. #001827

Colors that go with #004B6D

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 Blue, #001C96 and Medium Blue, #3B00BF become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --petrol-1: #004B6D; /* Petrol */
}

Palettes, gradients and meshes with #004B6D

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