#042022#042022

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

Color values

HEX#042022
RGBrgb(4, 32, 34)
HSLhsl(184, 79%, 7%)
HSVhsv(184, 88%, 13%)
CMYKcmyk(88.2%, 5.9%, 0%, 86.7%)
CIE-LABlab(10.37, -9.65, -4.48)
CIE-LCHlch(10.37, 10.64, 204.89°)
OKLaboklab(22.36% -0.0313 -0.0124)
OKLCHoklch(22.36% 0.034 201.7)
XYZxyz(0.8552, 1.1742, 1.6946)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042022 #220604
analogous
#042215 #042022 #041122
triadic
#042022 #220420 #202204
tetradic
#042022 #150422 #220604 #112204
square
#042022 #150422 #220604 #112204
split-complementary
#042022 #220411 #221504
monochromatic
#031A1B #031A1B #042022 #0A5459 #118790

Accessibility & contrast

On white

17.01
#042022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042022
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042022#FFFFFF#000000##FFFFFF
##0420221.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E22
Deuteranopia (green-blind)
#181B22
Tritanopia (blue-blind)
#002221
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #042022;
/* rgb */ color: rgb(4, 32, 34);
/* oklch */ color: oklch(22.4% 0.034 201.7);
Tailwind
colors: {
  custom: {
    50: '#485b5c',
    500: '#042022',
    950: '#000000',
  },
}
SCSS
$custom: #042022;
$custom-light: #485b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#042022",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 34
  },
  "hsl": {
    "h": 184,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22362,
    "c": 0.03364,
    "h": 201.7
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#042022
secondary
#65221D
accent
#3F32F5
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #042022

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

Preview Lab → · Contrast checker → · Palette generator →

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