#042C2B#042C2B

#042C2B is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.6% C 0.043 H 192.4°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#042C2B
RGBrgb(4, 44, 43)
HSLhsl(179, 83%, 9%)
HSVhsv(179, 91%, 17%)
CMYKcmyk(90.9%, 0%, 2.3%, 82.7%)
CIE-LABlab(15.49, -13.58, -3.28)
CIE-LCHlch(15.49, 13.97, 193.58°)
OKLaboklab(26.65% -0.0416 -0.0091)
OKLCHoklch(26.65% 0.043 192.4)
XYZxyz(1.3866, 2.0014, 2.5983)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C2B #2C0405
analogous
#042C17 #042C2B #04192C
triadic
#042C2B #2B042C #2C2B04
tetradic
#042C2B #17042C #2C0405 #192C04
square
#042C2B #17042C #2C0405 #192C04
split-complementary
#042C2B #2C0419 #2C1704
monochromatic
#031C1B #031C1B #042C2B #096462 #0E9C99

Accessibility & contrast

On white

15.00
#042C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042C2B
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C2B#FFFFFF#000000##FFFFFF
##042C2B1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292B
Deuteranopia (green-blind)
#23252B
Tritanopia (blue-blind)
#002E2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042c2b;
/* rgb */ color: rgb(4, 44, 43);
/* oklch */ color: oklch(26.6% 0.043 192.4);
Tailwind
colors: {
  custom: {
    50: '#4c6564',
    500: '#042c2b',
    950: '#000000',
  },
}
SCSS
$custom: #042c2b;
$custom-light: #4c6564;
$custom-dark: #000000;
JSON
{
  "hex": "#042c2b",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 43
  },
  "hsl": {
    "h": 178.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26645,
    "c": 0.04258,
    "h": 192.4
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#042C2B
secondary
#6F1D1F
accent
#2E33FA
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#010505
muted
#777A79

Preview Lab

Preview with #042C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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