#042D2F#042D2F

#042D2F is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.1% C 0.043 H 199.8°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#042D2F
RGBrgb(4, 45, 47)
HSLhsl(183, 84%, 10%)
HSVhsv(183, 91%, 18%)
CMYKcmyk(91.5%, 4.3%, 0%, 81.6%)
CIE-LABlab(16.04, -12.66, -5.27)
CIE-LCHlch(16.04, 13.71, 202.61°)
OKLaboklab(27.14% -0.0406 -0.0146)
OKLCHoklch(27.14% 0.043 199.8)
XYZxyz(1.5013, 2.1076, 3.0165)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D2F #2F0604
analogous
#042F1C #042D2F #04172F
triadic
#042D2F #2F042D #2D2F04
tetradic
#042D2F #1C042F #2F0604 #172F04
square
#042D2F #1C042F #2F0604 #172F04
split-complementary
#042D2F #2F0417 #2F1C04
monochromatic
#021B1C #021B1C #042D2F #096367 #0E99A0

Accessibility & contrast

On white

14.77
#042D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#042D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D2F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D2F#FFFFFF#000000##FFFFFF
##042D2F1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2F
Deuteranopia (green-blind)
#23262F
Tritanopia (blue-blind)
#002F2E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042d2f;
/* rgb */ color: rgb(4, 45, 47);
/* oklch */ color: oklch(27.1% 0.043 199.8);
Tailwind
colors: {
  custom: {
    50: '#4d6667',
    500: '#042d2f',
    950: '#000000',
  },
}
SCSS
$custom: #042d2f;
$custom-light: #4d6667;
$custom-dark: #000000;
JSON
{
  "hex": "#042d2f",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 182.791,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27143,
    "c": 0.04315,
    "h": 199.8
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#042D2F
secondary
#72211D
accent
#372DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #042D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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