#042020#042020

#042020 is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.3% C 0.034 H 195.0°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#042020
RGBrgb(4, 32, 32)
HSLhsl(180, 78%, 7%)
HSVhsv(180, 88%, 13%)
CMYKcmyk(87.5%, 0%, 0%, 87.5%)
CIE-LABlab(10.28, -10.43, -3.13)
CIE-LCHlch(10.28, 10.89, 196.69°)
OKLaboklab(22.27% -0.0324 -0.0087)
OKLCHoklch(22.27% 0.034 195)
XYZxyz(0.8272, 1.1630, 1.5471)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042020 #200404
analogous
#042012 #042020 #041220
triadic
#042020 #200420 #202004
tetradic
#042020 #120420 #200404 #122004
square
#042020 #120420 #200404 #122004
split-complementary
#042020 #200412 #201204
monochromatic
#031B1B #031B1B #042020 #0B5656 #128D8D

Accessibility & contrast

On white

17.04
#042020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#042020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042020
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042020#FFFFFF#000000##FFFFFF
##0420201.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E20
Deuteranopia (green-blind)
#191B20
Tritanopia (blue-blind)
#002120
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #042020;
/* rgb */ color: rgb(4, 32, 32);
/* oklch */ color: oklch(22.3% 0.034 195.0);
Tailwind
colors: {
  custom: {
    50: '#485b5b',
    500: '#042020',
    950: '#000000',
  },
}
SCSS
$custom: #042020;
$custom-light: #485b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#042020",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 180,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22266,
    "c": 0.03355,
    "h": 195
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#042020
secondary
#631D1D
accent
#3434F4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #042020

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

Preview Lab → · Contrast checker → · Palette generator →

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