#072828#072828

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

Color values

HEX#072828
RGBrgb(7, 40, 40)
HSLhsl(180, 70%, 9%)
HSVhsv(180, 83%, 16%)
CMYKcmyk(82.5%, 0%, 0%, 84.3%)
CIE-LABlab(13.92, -11.60, -3.49)
CIE-LCHlch(13.92, 12.11, 196.74°)
OKLaboklab(25.36% -0.036 -0.0097)
OKLCHoklch(25.36% 0.037 195.1)
XYZxyz(1.2292, 1.7158, 2.2735)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072828 #280707
analogous
#072818 #072828 #071828
triadic
#072828 #280728 #282807
tetradic
#072828 #180728 #280707 #182807
square
#072828 #180728 #280707 #182807
split-complementary
#072828 #280718 #281807
monochromatic
#051A1A #051A1A #072828 #105C5C #199090

Accessibility & contrast

On white

15.63
#072828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072828
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072828#FFFFFF#000000##FFFFFF
##0728281.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#202228
Tritanopia (blue-blind)
#002A28
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #072828;
/* rgb */ color: rgb(7, 40, 40);
/* oklch */ color: oklch(25.4% 0.037 195.1);
Tailwind
colors: {
  custom: {
    50: '#4c6261',
    500: '#072828',
    950: '#000000',
  },
}
SCSS
$custom: #072828;
$custom-light: #4c6261;
$custom-dark: #000000;
JSON
{
  "hex": "#072828",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 180,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25358,
    "c": 0.03729,
    "h": 195.1
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#072828
secondary
#682323
accent
#3B3BED
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010505
muted
#777979

Preview Lab

Preview with #072828

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

Preview Lab → · Contrast checker → · Palette generator →

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