#041818#041818

#041818 is a very dark, muted teal. Relative luminance 0.007; OKLCH L 19.2% C 0.027 H 195.1°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#041818
RGBrgb(4, 24, 24)
HSLhsl(180, 71%, 5%)
HSVhsv(180, 83%, 9%)
CMYKcmyk(83.3%, 0%, 0%, 90.6%)
CIE-LABlab(6.73, -6.82, -2.40)
CIE-LCHlch(6.73, 7.24, 199.39°)
OKLaboklab(19.22% -0.0259 -0.007)
OKLCHoklch(19.22% 0.027 195.1)
XYZxyz(0.5415, 0.7450, 0.9792)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041818 #180404
analogous
#04180E #041818 #040E18
triadic
#041818 #180418 #181804
tetradic
#041818 #0E0418 #180404 #0E1804
square
#041818 #0E0418 #180404 #0E1804
split-complementary
#041818 #18040E #180E04
monochromatic
#041A1A #041A1A #041A1A #0D4C4C #158181

Accessibility & contrast

On white

18.28
#041818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#041818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041818
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041818#FFFFFF#000000##FFFFFF
##0418181.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161618
Deuteranopia (green-blind)
#121418
Tritanopia (blue-blind)
#001918
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #041818;
/* rgb */ color: rgb(4, 24, 24);
/* oklch */ color: oklch(19.2% 0.027 195.1);
Tailwind
colors: {
  custom: {
    50: '#485454',
    500: '#041818',
    950: '#000000',
  },
}
SCSS
$custom: #041818;
$custom-light: #485454;
$custom-dark: #000000;
JSON
{
  "hex": "#041818",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 180,
    "s": 71.429,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19217,
    "c": 0.02686,
    "h": 195.1
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#041818
secondary
#5A1E1E
accent
#3A3AEE
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000202
muted
#777878

Preview Lab

Preview with #041818

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

Preview Lab → · Contrast checker → · Palette generator →

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