#072A39#072A39

#072A39 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.048 H 231.0°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#072A39
RGBrgb(7, 42, 57)
HSLhsl(198, 78%, 13%)
HSVhsv(198, 88%, 22%)
CMYKcmyk(87.7%, 26.3%, 0%, 77.6%)
CIE-LABlab(15.47, -6.07, -13.15)
CIE-LCHlch(15.47, 14.49, 245.21°)
OKLaboklab(26.86% -0.0299 -0.037)
OKLCHoklch(26.86% 0.048 231)
XYZxyz(1.6538, 1.9963, 4.1683)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A39 #391607
analogous
#07392F #072A39 #071139
triadic
#072A39 #39072A #2A3907
tetradic
#072A39 #2F0739 #391607 #113907
square
#072A39 #2F0739 #391607 #113907
split-complementary
#072A39 #390711 #392F07
monochromatic
#03141B #03141B #072A39 #0E5270 #147AA6

Accessibility & contrast

On white

15.01
#072A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#072A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A39
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A39#FFFFFF#000000##FFFFFF
##072A391.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22293A
Deuteranopia (green-blind)
#1C2539
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #072a39;
/* rgb */ color: rgb(7, 42, 57);
/* oklch */ color: oklch(26.9% 0.048 231.0);
Tailwind
colors: {
  custom: {
    50: '#50636f',
    500: '#072a39',
    950: '#000000',
  },
}
SCSS
$custom: #072a39;
$custom-light: #50636f;
$custom-dark: #000000;
JSON
{
  "hex": "#072a39",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 198,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.26863,
    "c": 0.04758,
    "h": 231
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#072A39
secondary
#793D23
accent
#6D33F5
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #072A39

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#072A39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva