#042D28#042D28

#042D28 is a dark, muted teal. Relative luminance 0.021; OKLCH L 26.8% C 0.045 H 182.9°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#042D28
RGBrgb(4, 45, 40)
HSLhsl(173, 84%, 10%)
HSVhsv(173, 91%, 18%)
CMYKcmyk(91.1%, 0%, 11.1%, 82.4%)
CIE-LABlab(15.78, -15.25, -0.75)
CIE-LCHlch(15.78, 15.26, 182.82°)
OKLaboklab(26.84% -0.0446 -0.0023)
OKLCHoklch(26.84% 0.045 182.9)
XYZxyz(1.3713, 2.0556, 2.3316)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D28 #2D0409
analogous
#042D14 #042D28 #041E2D
triadic
#042D28 #28042D #2D2804
tetradic
#042D28 #14042D #2D0409 #1E2D04
square
#042D28 #14042D #2D0409 #1E2D04
split-complementary
#042D28 #2D041E #2D1404
monochromatic
#021C19 #021C19 #042D28 #09655A #0E9D8C

Accessibility & contrast

On white

14.88
#042D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D28
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D28#FFFFFF#000000##FFFFFF
##042D281.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A28
Deuteranopia (green-blind)
#252628
Tritanopia (blue-blind)
#002E2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042d28;
/* rgb */ color: rgb(4, 45, 40);
/* oklch */ color: oklch(26.8% 0.045 182.9);
Tailwind
colors: {
  custom: {
    50: '#4c6661',
    500: '#042d28',
    950: '#000000',
  },
}
SCSS
$custom: #042d28;
$custom-light: #4c6661;
$custom-dark: #000000;
JSON
{
  "hex": "#042d28",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 40
  },
  "hsl": {
    "h": 172.683,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26838,
    "c": 0.04464,
    "h": 182.9
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#042D28
secondary
#701D27
accent
#2E47FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010605
muted
#777A79

Preview Lab

Preview with #042D28

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

Preview Lab → · Contrast checker → · Palette generator →

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