#072227#072227

#072227 is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.4% C 0.034 H 211.9°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#072227
RGBrgb(7, 34, 39)
HSLhsl(189, 70%, 9%)
HSVhsv(189, 82%, 15%)
CMYKcmyk(82.1%, 12.8%, 0%, 84.7%)
CIE-LABlab(11.52, -8.14, -6.38)
CIE-LCHlch(11.52, 10.34, 218.08°)
OKLaboklab(23.41% -0.0285 -0.0177)
OKLCHoklch(23.41% 0.034 211.9)
XYZxyz(1.0257, 1.3356, 2.1228)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072227 #270C07
analogous
#07271C #072227 #071227
triadic
#072227 #270722 #222707
tetradic
#072227 #1C0727 #270C07 #122707
square
#072227 #1C0727 #270C07 #122707
split-complementary
#072227 #270712 #271C07
monochromatic
#05171A #05171A #072227 #104F5B #1A7C8F

Accessibility & contrast

On white

16.57
#072227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#072227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072227
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072227#FFFFFF#000000##FFFFFF
##0722271.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2127
Deuteranopia (green-blind)
#191D27
Tritanopia (blue-blind)
#002424
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #072227;
/* rgb */ color: rgb(7, 34, 39);
/* oklch */ color: oklch(23.4% 0.034 211.9);
Tailwind
colors: {
  custom: {
    50: '#4b5d61',
    500: '#072227',
    950: '#000000',
  },
}
SCSS
$custom: #072227;
$custom-light: #4b5d61;
$custom-dark: #000000;
JSON
{
  "hex": "#072227",
  "rgb": {
    "r": 7,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 189.375,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23408,
    "c": 0.03354,
    "h": 211.9
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#072227
secondary
#662E23
accent
#573BEC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #072227

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

Preview Lab → · Contrast checker → · Palette generator →

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