#042D1D#042D1D

#042D1D is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.5% C 0.054 H 162.3°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#042D1D
RGBrgb(4, 45, 29)
HSLhsl(157, 84%, 10%)
HSVhsv(157, 91%, 18%)
CMYKcmyk(91.1%, 0%, 35.6%, 82.4%)
CIE-LABlab(15.44, -18.77, 6.45)
CIE-LCHlch(15.44, 19.84, 161.04°)
OKLaboklab(26.45% -0.0512 0.0164)
OKLCHoklch(26.45% 0.054 162.3)
XYZxyz(1.2101, 1.9911, 1.4827)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D1D #2D0414
analogous
#042D08 #042D1D #04292D
triadic
#042D1D #1D042D #2D1D04
tetradic
#042D1D #08042D #2D0414 #292D04
square
#042D1D #08042D #2D0414 #292D04
split-complementary
#042D1D #2D0429 #2D0804
monochromatic
#021C12 #021C12 #042D1D #096541 #0E9D65

Accessibility & contrast

On white

15.02
#042D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#042D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D1D
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D1D#FFFFFF#000000##FFFFFF
##042D1D1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291C
Deuteranopia (green-blind)
#27251E
Tritanopia (blue-blind)
#002D29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042d1d;
/* rgb */ color: rgb(4, 45, 29);
/* oklch */ color: oklch(26.5% 0.054 162.3);
Tailwind
colors: {
  custom: {
    50: '#4b6658',
    500: '#042d1d',
    950: '#000000',
  },
}
SCSS
$custom: #042d1d;
$custom-light: #4b6658;
$custom-dark: #000000;
JSON
{
  "hex": "#042d1d",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 29
  },
  "hsl": {
    "h": 156.585,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26452,
    "c": 0.0538,
    "h": 162.3
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#042D1D
secondary
#701D3D
accent
#2E7DFA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042D1D

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

Preview Lab → · Contrast checker → · Palette generator →

#042D1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva