#042223#042223

#042223 is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.1% C 0.035 H 198.1°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#042223
RGBrgb(4, 34, 35)
HSLhsl(182, 79%, 8%)
HSVhsv(182, 89%, 14%)
CMYKcmyk(88.6%, 2.9%, 0%, 86.3%)
CIE-LABlab(11.21, -10.54, -3.94)
CIE-LCHlch(11.21, 11.25, 200.49°)
OKLaboklab(23.06% -0.0333 -0.0109)
OKLCHoklch(23.06% 0.035 198.1)
XYZxyz(0.9253, 1.2911, 1.7902)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042223 #230504
analogous
#042314 #042223 #041323
triadic
#042223 #230422 #222304
tetradic
#042223 #140423 #230504 #132304
square
#042223 #140423 #230504 #132304
split-complementary
#042223 #230413 #231404
monochromatic
#031B1B #031B1B #042223 #0A575A #118D91

Accessibility & contrast

On white

16.69
#042223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#042223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042223
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042223#FFFFFF#000000##FFFFFF
##0422231.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2023
Deuteranopia (green-blind)
#1A1C23
Tritanopia (blue-blind)
#002422
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #042223;
/* rgb */ color: rgb(4, 34, 35);
/* oklch */ color: oklch(23.1% 0.035 198.1);
Tailwind
colors: {
  custom: {
    50: '#495d5d',
    500: '#042223',
    950: '#000000',
  },
}
SCSS
$custom: #042223;
$custom-light: #495d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#042223",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 181.935,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23062,
    "c": 0.0351,
    "h": 198.1
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#042223
secondary
#661F1D
accent
#3832F6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #042223

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

Preview Lab → · Contrast checker → · Palette generator →

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