Petrol Blue color code: #0F3D3E
A blue-green so balanced it reads differently depending on surrounding colours.
Petrol Blue · rgb(15, 61, 62)
Every format for Petrol Blue
- HEX
- #0F3D3E
- RGB
- rgb(15, 61, 62)
- HSL
- hsl(181, 61%, 15%)
- HSV
- 181°, 76%, 24%
- CMYK
- 76%, 2%, 0%, 76%
- Lightness
- 15% · dark
Hue sits at 181°, which makes Petrol Blue a teal-leaning navy, with 61% saturation. In the Teal Navy family it reads as a dark option.
Text contrast on Petrol Blue
Contrast ratios are calculated using the WCAG 2.1 relative luminance formula. Normal body text needs 4.5:1 and large text needs 3:1 to pass AA.
White text on Petrol Blue
The quick brown fox jumps over the lazy dog.
11.95:1 — AAA for normal textBlack text on Petrol Blue
The quick brown fox jumps over the lazy dog.
1.76:1 — below AA, decorative use onlyPetrol Blue text on white
The quick brown fox jumps over the lazy dog.
11.95:1 — AAA for normal textAccessibility notes
- Pair Petrol Blue with white text for the strongest reading experience: that combination gives 11.95:1.
- Used as a text colour on white, it clears the 3:1 bar for large headings.
- Never rely on Petrol Blue alone to communicate state. Add an icon, label or underline so the meaning survives for colour-blind users and in greyscale printing.
- When placing text over a photograph tinted with Petrol Blue, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.
Using Petrol Blue in CSS and HTML
CSS example
:root {
--petrol-blue: #0F3D3E;
}
.panel {
background-color: var(--petrol-blue);
color: #FFFFFF;
border: 1px solid #0F3D3E;
}HTML example
<div style="background-color: #0F3D3E; color: #FFFFFF; padding: 1rem;">
Petrol Blue #0F3D3E
</div>Common uses
- Page and section backgrounds in dark interfaces, where it holds white text cleanly.
- Teal Navy palettes for brand systems that need a dependable cool anchor.
- Print work where a deep blue is preferred to black, using the CMYK build 76%, 2%, 0%, 76%.
- Data visualisation, as one step in a lightness-based navy scale.
Design recommendations
- Build lighter and darker variants by changing only the lightness in
hsl(181, 61%, 15%). Keeping hue fixed is what makes a scale look intentional. - Give Petrol Blue at least one warm counterweight. A cool palette with no warm accent tends to read as cold rather than calm.
- Saturation is moderate, which makes this shade forgiving across large areas and long reading sessions.
Complementary and matching colors
Each of these is derived from the hue, saturation and lightness of Petrol Blue. Click a swatch to copy it.
Similar navy shades
Continue exploring
FAQs about Petrol Blue
What is the Petrol Blue color code?
The Petrol Blue color code is #0F3D3E in HEX, rgb(15, 61, 62) in RGB and hsl(181, 61%, 15%) in HSL.
What is the RGB value of Petrol Blue?
Petrol Blue is rgb(15, 61, 62), meaning 15 units of red, 61 of green and 62 of blue on the 0 to 255 scale.
What is the CMYK value of Petrol Blue?
In CMYK, Petrol Blue converts to approximately 76%, 2%, 0%, 76%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.
Does white text work on Petrol Blue?
White text on Petrol Blue gives a contrast ratio of 11.95:1, which is AAA for normal text.
Does black text work on Petrol Blue?
Black text on Petrol Blue gives a contrast ratio of 1.76:1, which is below AA, decorative use only.
Which colors go with Petrol Blue?
Its direct complement is #902523, and the warm accent #B7441A works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.
Is Petrol Blue a light or dark navy?
At 15% lightness, Petrol Blue is classed as a dark navy in this collection.