#04221E#04221E

#04221E is a very dark, muted teal. Relative luminance 0.013; OKLCH L 22.8% C 0.036 H 182.7°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#04221E
RGBrgb(4, 34, 30)
HSLhsl(172, 79%, 7%)
HSVhsv(172, 88%, 13%)
CMYKcmyk(88.2%, 0%, 11.8%, 86.7%)
CIE-LABlab(11.02, -12.42, -0.57)
CIE-LCHlch(11.02, 12.43, 182.63°)
OKLaboklab(22.84% -0.0363 -0.0017)
OKLCHoklch(22.84% 0.036 182.7)
XYZxyz(0.8563, 1.2635, 1.4268)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04221E #220408
analogous
#04220F #04221E #041722
triadic
#04221E #1E0422 #221E04
tetradic
#04221E #0F0422 #220408 #172204
square
#04221E #0F0422 #220408 #172204
split-complementary
#04221E #220417 #220F04
monochromatic
#031B18 #031B18 #04221E #0A594E #11907F

Accessibility & contrast

On white

16.76
#04221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04221E
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04221E#FFFFFF#000000##FFFFFF
##04221E1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1E
Deuteranopia (green-blind)
#1B1C1E
Tritanopia (blue-blind)
#002321
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #04221e;
/* rgb */ color: rgb(4, 34, 30);
/* oklch */ color: oklch(22.8% 0.036 182.7);
Tailwind
colors: {
  custom: {
    50: '#485d59',
    500: '#04221e',
    950: '#000000',
  },
}
SCSS
$custom: #04221e;
$custom-light: #485d59;
$custom-dark: #000000;
JSON
{
  "hex": "#04221e",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 172,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22838,
    "c": 0.03635,
    "h": 182.7
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#04221E
secondary
#651D27
accent
#324CF5
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04221E

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

Preview Lab → · Contrast checker → · Palette generator →

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