Petrol color #005F6A
Petrol is a color name from the xkcd color survey for the hex code #005F6A — RGB 0, 95, 106, HSL 186°, 100%, 21%.
#005F6APetrol
Color codes
- HEX
#005F6A- RGB
rgb(0, 95, 106)- HSL
hsl(186, 100%, 21%)- CMYK
100%, 10%, 0%, 58%- OKLCH
oklch(44.4% 0.076 208.5)
Tints and shades
#E0FBFF#9DE9F5#82CEDA#68B4BF#4F9AA5#34818C#146974#00505A#003940#002227#000E11
Color harmonies
Complementary
#005F6A#78423B
Analogous
#106154#005F6A#245979
Triadic
#005F6A#6B4469#65511A
Split complementary
#005F6A#754153#734825
Tetradic
#005F6A#594A78#78423B#505925
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Petrol text on white | 7.38 : 1 | 85 | AAA — any text |
| Petrol text on black | 2.85 : 1 | -17 | Fails for text |
| White text on Petrol | 7.38 : 1 | -90 | AAA — any text |
| Black text on Petrol | 2.85 : 1 | 19 | Fails for text |
Palettes with this color
- Turquoise Blue & Almost Black
- Deep Sky Blue & Deep Brown
- Petrol & Powder Blue
- Dusty Teal & Dark Blue Grey
- Dark Pink & Misty Rose
- Teal Blue & Ice Blue
Frequently asked questions
What is the hex code of Petrol?
Petrol has the hex code #005F6A, which is RGB 0, 95, 106 and HSL 186°, 100%, 21%.
Which text color reads best on Petrol?
White text: contrast 7.38 : 1 (black text: 2.85 : 1).
Which colors go well with Petrol?
Its complementary color is #78423B; analogous colors are #106154 and #245979; a triadic set adds #6B4469 and #65511A.
Similar colors
- Dark Aqua #05696B
- Deep Teal #00555A
- Dark Green Blue #1F6357
- Dark Slate Gray #2F4F4F
- Deep Sea Blue #015482
- Dark Blue Green #005249
- Deep Turquoise #017374
- Light Navy Blue #2E5A88
- Dark Teal #014D4E
- Gunmetal #536267
Sources and licences
- xkcd color survey (Randall Munroe, CC0 1.0)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)