#024E59 Petrol
rgb(2, 78, 89)
Color conversions
- HEX
- #024E59
- RGB
- rgb(2, 78, 89)
- RGBA
- rgba(2, 78, 89, 1)
- HSL
- hsl(188, 96%, 18%)
- HSV / HSB
- hsv(188, 98%, 35%)
- CMYK
- cmyk(98%, 12%, 0%, 65%)
Wide-gamut spaces
- XYZ
- xyz(4.552, 6.182, 10.403)
- LAB
- lab(29.87 -16.13 -12.35)
- LCH
- lch(29.87 20.32 217.43)
- OKLAB
- oklab(38.91% -0.0572 -0.0345)
- OKLCH
- oklch(38.91% 0.0668 211.09)
- Nearest name
- Petrol
Shades, tints and tones
Color harmonies
The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.
Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.
Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.
The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.
Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.
Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.
Similar colors
Opacity variations
#024e591a
#024e5933
#024e594d
#024e5966
#024e5980
#024e5999
#024e59b3
#024e59cc
#024e59e6
#024e59ff
Accessibility and contrast
On white
9.39:1
Body text AAA · Large text AA
On black
2.24:1
Body text Fail · Large text Fail
White-on-color contrast is 9.39:1.
Color blindness preview
Protanopia
No red cones — ~1% of men
Protanomaly
Reduced red sensitivity — ~1% of men
Deuteranopia
No green cones — ~1% of men
Deuteranomaly
Reduced green sensitivity — ~5% of men
Tritanopia
No blue cones — very rare
Tritanomaly
Reduced blue sensitivity — very rare
Achromatopsia
No color perception — ~1 in 30,000
Achromatomaly
Partial color perception — rare
Meaning, psychology and brand usage
Clean, technical, and effortlessly modern
Cyan and teal sit between blue's trust and green's calm, reading as clinical and precise. They perform well in data visualisation because they remain distinguishable for most forms of colour vision deficiency.
Water, hygiene, and clarity almost universally. Teal specifically carries a mid-century and medical association in Western design history.
Cyan entered common vocabulary through four-colour printing, where it is one of the process inks. Egyptian blue and later cerulean gave artists the closest historical equivalents.
Excellent for healthcare, SaaS, and fintech seeking approachability without blue's ubiquity. Deepen it for text use — bright cyan rarely reaches AA on white.
Common industries: Healthcare, SaaS, Travel, Water & utilities, Beauty. Pairs well with coral for warmth, deep navy for hierarchy, soft gray for restraint.
Code exports
CSS
:root {
--color-petrol: #024e59;
--color-petrol-rgb: 2 78 89;
--color-petrol-hsl: 188 96% 18%;
--color-petrol-oklch: 38.91% 0.0668 211.09;
}
.element {
color: #024e59;
background-color: hsl(188, 96%, 18%);
border: 1px solid rgb(2 78 89 / 40%);
}SCSS
$petrol: #024e59;
$petrol-light: #81a7ac;
$petrol-dark: #01272d;
.element {
color: $petrol;
background: rgba($petrol, 0.12);
&:hover {
color: darken($petrol, 8%);
}
}LESS
@petrol: #024e59;
@petrol-light: lighten(@petrol, 12%);
@petrol-dark: darken(@petrol, 12%);
.element {
color: @petrol;
background: fade(@petrol, 12%);
}Tailwind CSS
/* Tailwind v4 — src/styles.css */
@theme {
--color-petrol-50: #ccdcde;
--color-petrol-100: #b3cacd;
--color-petrol-200: #9ab8bd;
--color-petrol-300: #67959b;
--color-petrol-400: #35717a;
--color-petrol-500: #024e59;
--color-petrol-600: #024650;
--color-petrol-700: #01373e;
--color-petrol-800: #01272d;
--color-petrol-900: #01171b;
}
/* Usage */
<div class="bg-petrol-500 text-petrol-50 ring-petrol-600" />
/* Arbitrary value, no config needed */
<div class="bg-[#024e59]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$petrol: #024e59;
$primary: $petrol;
$theme-colors: map-merge($theme-colors, (
"petrol": $petrol
));
// Generates .text-petrol, .bg-petrol, .btn-petrol
@import "bootstrap/scss/bootstrap";Flutter
import 'package:flutter/material.dart';
const Color petrol = Color(0xFF024E59);
// As a MaterialColor swatch
const MaterialColor petrolSwatch = MaterialColor(0xFF024E59, <int, Color>{
50: Color(0xFFCCDCDE),
100: Color(0xFFB3CACD),
200: Color(0xFF9AB8BD),
300: Color(0xFF67959B),
400: Color(0xFF35717A),
500: Color(0xFF024E59),
600: Color(0xFF024650),
700: Color(0xFF01373E),
800: Color(0xFF01272D),
900: Color(0xFF01171B),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #024e59 — Petrol
static let petrol = Color(
red: 0.0078,
green: 0.3059,
blue: 0.349
)
}
// UIKit
extension UIColor {
static let petrol = UIColor(
red: 0.0078,
green: 0.3059,
blue: 0.349,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="petrol">#024E59</color>
<color name="petrol_translucent">#80024E59</color>
</resources>
<!-- Jetpack Compose -->
val Petrol = Color(0xFF024E59)JavaScript
export const PETROL = {
hex: "#024e59",
rgb: [2, 78, 89],
hsl: [188, 96, 18],
oklch: "oklch(38.91% 0.0668 211.09)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"petrol": {
"$type": "color",
"$value": "#024e59",
"$description": "Petrol — generated by ColorVerse AI"
}
}