#042220#042220

#042220 is a very dark, muted teal. Relative luminance 0.013; OKLCH L 22.9% C 0.036 H 188.7°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#042220
RGBrgb(4, 34, 32)
HSLhsl(176, 79%, 7%)
HSVhsv(176, 88%, 13%)
CMYKcmyk(88.2%, 0%, 5.9%, 86.7%)
CIE-LABlab(11.09, -11.68, -1.92)
CIE-LCHlch(11.09, 11.84, 189.35°)
OKLaboklab(22.92% -0.0351 -0.0054)
OKLCHoklch(22.92% 0.036 188.7)
XYZxyz(0.8827, 1.2740, 1.5656)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042220 #220406
analogous
#042211 #042220 #041522
triadic
#042220 #200422 #222004
tetradic
#042220 #110422 #220406 #152204
square
#042220 #110422 #220406 #152204
split-complementary
#042220 #220415 #221104
monochromatic
#031B1A #031B1A #042220 #0A5954 #119087

Accessibility & contrast

On white

16.74
#042220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#042220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042220
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042220#FFFFFF#000000##FFFFFF
##0422201.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2020
Deuteranopia (green-blind)
#1B1C20
Tritanopia (blue-blind)
#002321
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #042220;
/* rgb */ color: rgb(4, 34, 32);
/* oklch */ color: oklch(22.9% 0.036 188.7);
Tailwind
colors: {
  custom: {
    50: '#495d5b',
    500: '#042220',
    950: '#000000',
  },
}
SCSS
$custom: #042220;
$custom-light: #495d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#042220",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 32
  },
  "hsl": {
    "h": 176,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22924,
    "c": 0.03552,
    "h": 188.7
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#042220
secondary
#651D22
accent
#323FF5
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #042220

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

Preview Lab → · Contrast checker → · Palette generator →

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