#042218#042218

#042218 is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.6% C 0.041 H 167.3°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#042218
RGBrgb(4, 34, 24)
HSLhsl(160, 79%, 7%)
HSVhsv(160, 88%, 13%)
CMYKcmyk(88.2%, 0%, 29.4%, 86.7%)
CIE-LABlab(10.82, -14.40, 3.52)
CIE-LCHlch(10.82, 14.82, 166.26°)
OKLaboklab(22.61% -0.0401 0.009)
OKLCHoklch(22.61% 0.041 167.3)
XYZxyz(0.7869, 1.2357, 1.0610)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042218 #22040E
analogous
#042209 #042218 #041D22
triadic
#042218 #180422 #221804
tetradic
#042218 #090422 #22040E #1D2204
square
#042218 #090422 #22040E #1D2204
split-complementary
#042218 #22041D #220904
monochromatic
#031B13 #031B13 #042218 #0A593F #119065

Accessibility & contrast

On white

16.84
#042218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042218
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042218#FFFFFF#000000##FFFFFF
##0422181.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F17
Deuteranopia (green-blind)
#1D1C19
Tritanopia (blue-blind)
#00221F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #042218;
/* rgb */ color: rgb(4, 34, 24);
/* oklch */ color: oklch(22.6% 0.041 167.3);
Tailwind
colors: {
  custom: {
    50: '#485d54',
    500: '#042218',
    950: '#000000',
  },
}
SCSS
$custom: #042218;
$custom-light: #485d54;
$custom-dark: #000000;
JSON
{
  "hex": "#042218",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 160,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22609,
    "c": 0.04106,
    "h": 167.3
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#042218
secondary
#651D35
accent
#3273F5
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #042218

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

Preview Lab → · Contrast checker → · Palette generator →

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