#072827#072827

#072827 is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.3% C 0.037 H 192.2°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#072827
RGBrgb(7, 40, 39)
HSLhsl(178, 70%, 9%)
HSVhsv(178, 83%, 16%)
CMYKcmyk(82.5%, 0%, 2.5%, 84.3%)
CIE-LABlab(13.88, -11.96, -2.83)
CIE-LCHlch(13.88, 12.29, 193.32°)
OKLaboklab(25.31% -0.0366 -0.0079)
OKLCHoklch(25.31% 0.037 192.2)
XYZxyz(1.2125, 1.7091, 2.1851)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072827 #280708
analogous
#072817 #072827 #071928
triadic
#072827 #270728 #282707
tetradic
#072827 #170728 #280708 #192807
square
#072827 #170728 #280708 #192807
split-complementary
#072827 #280719 #281707
monochromatic
#051A19 #051A19 #072827 #105C5A #19908D

Accessibility & contrast

On white

15.65
#072827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#072827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072827
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072827#FFFFFF#000000##FFFFFF
##0728271.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252627
Deuteranopia (green-blind)
#202227
Tritanopia (blue-blind)
#002928
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #072827;
/* rgb */ color: rgb(7, 40, 39);
/* oklch */ color: oklch(25.3% 0.037 192.2);
Tailwind
colors: {
  custom: {
    50: '#4c6261',
    500: '#072827',
    950: '#000000',
  },
}
SCSS
$custom: #072827;
$custom-light: #4c6261;
$custom-dark: #000000;
JSON
{
  "hex": "#072827",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 178.182,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25313,
    "c": 0.03742,
    "h": 192.2
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#072827
secondary
#682325
accent
#3B40ED
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010505
muted
#777979

Preview Lab

Preview with #072827

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

Preview Lab → · Contrast checker → · Palette generator →

#072827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva