#04221A#04221A

#04221A is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.7% C 0.039 H 172.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#04221A
RGBrgb(4, 34, 26)
HSLhsl(164, 79%, 7%)
HSVhsv(164, 88%, 13%)
CMYKcmyk(88.2%, 0%, 23.5%, 86.7%)
CIE-LABlab(10.88, -13.78, 2.15)
CIE-LCHlch(10.88, 13.95, 171.12°)
OKLaboklab(22.68% -0.0388 0.0055)
OKLCHoklch(22.68% 0.039 172)
XYZxyz(0.8085, 1.2444, 1.1747)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04221A #22040C
analogous
#04220B #04221A #041B22
triadic
#04221A #1A0422 #221A04
tetradic
#04221A #0B0422 #22040C #1B2204
square
#04221A #0B0422 #22040C #1B2204
split-complementary
#04221A #22041B #220B04
monochromatic
#031B15 #031B15 #04221A #0A5944 #11906E

Accessibility & contrast

On white

16.82
#04221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#04221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04221A
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04221A#FFFFFF#000000##FFFFFF
##04221A1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F1A
Deuteranopia (green-blind)
#1C1C1B
Tritanopia (blue-blind)
#002220
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #04221a;
/* rgb */ color: rgb(4, 34, 26);
/* oklch */ color: oklch(22.7% 0.039 172.0);
Tailwind
colors: {
  custom: {
    50: '#485d56',
    500: '#04221a',
    950: '#000000',
  },
}
SCSS
$custom: #04221a;
$custom-light: #485d56;
$custom-dark: #000000;
JSON
{
  "hex": "#04221a",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 164,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22681,
    "c": 0.03918,
    "h": 172
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#04221A
secondary
#651D30
accent
#3266F5
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #04221A

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

Preview Lab → · Contrast checker → · Palette generator →

#04221A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva