#072A31#072A31

#072A31 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.4% C 0.041 H 213.9°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#072A31
RGBrgb(7, 42, 49)
HSLhsl(190, 75%, 11%)
HSVhsv(190, 86%, 19%)
CMYKcmyk(85.7%, 14.3%, 0%, 80.8%)
CIE-LABlab(15.08, -9.38, -8.13)
CIE-LCHlch(15.08, 12.42, 220.92°)
OKLaboklab(26.42% -0.0337 -0.0227)
OKLCHoklch(26.42% 0.041 213.9)
XYZxyz(1.4697, 1.9227, 3.1988)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A31 #310E07
analogous
#073123 #072A31 #071531
triadic
#072A31 #31072A #2A3107
tetradic
#072A31 #230731 #310E07 #153107
square
#072A31 #230731 #310E07 #153107
split-complementary
#072A31 #310715 #312307
monochromatic
#04171B #04171B #072A31 #0F5867 #16869C

Accessibility & contrast

On white

15.17
#072A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#072A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A31
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A31#FFFFFF#000000##FFFFFF
##072A311.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252831
Deuteranopia (green-blind)
#1F2431
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #072a31;
/* rgb */ color: rgb(7, 42, 49);
/* oklch */ color: oklch(26.4% 0.041 213.9);
Tailwind
colors: {
  custom: {
    50: '#4e6369',
    500: '#072a31',
    950: '#000000',
  },
}
SCSS
$custom: #072a31;
$custom-light: #4e6369;
$custom-dark: #000000;
JSON
{
  "hex": "#072a31",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 190,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26419,
    "c": 0.04065,
    "h": 213.9
  },
  "luminance": 0.01923
}

Semantic roles & 50–950 ramp

primary
#072A31
secondary
#713023
accent
#5536F2
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #072A31

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

Preview Lab → · Contrast checker → · Palette generator →

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