#042C29#042C29

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

Color values

HEX#042C29
RGBrgb(4, 44, 41)
HSLhsl(176, 83%, 9%)
HSVhsv(176, 91%, 17%)
CMYKcmyk(90.9%, 0%, 6.8%, 82.7%)
CIE-LABlab(15.42, -14.32, -1.98)
CIE-LCHlch(15.42, 14.45, 187.88°)
OKLaboklab(26.56% -0.0427 -0.0056)
OKLCHoklch(26.56% 0.043 187.5)
XYZxyz(1.3508, 1.9871, 2.4097)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C29 #2C0407
analogous
#042C15 #042C29 #041B2C
triadic
#042C29 #29042C #2C2904
tetradic
#042C29 #15042C #2C0407 #1B2C04
square
#042C29 #15042C #2C0407 #1B2C04
split-complementary
#042C29 #2C041B #2C1504
monochromatic
#031C1A #031C1A #042C29 #09645D #0E9C92

Accessibility & contrast

On white

15.03
#042C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042C29
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C29#FFFFFF#000000##FFFFFF
##042C291.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292929
Deuteranopia (green-blind)
#232529
Tritanopia (blue-blind)
#002D2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042c29;
/* rgb */ color: rgb(4, 44, 41);
/* oklch */ color: oklch(26.6% 0.043 187.5);
Tailwind
colors: {
  custom: {
    50: '#4c6562',
    500: '#042c29',
    950: '#000000',
  },
}
SCSS
$custom: #042c29;
$custom-light: #4c6562;
$custom-dark: #000000;
JSON
{
  "hex": "#042c29",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 41
  },
  "hsl": {
    "h": 175.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26559,
    "c": 0.04311,
    "h": 187.5
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#042C29
secondary
#6F1D23
accent
#2E3DFA
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#010505
muted
#777A79

Preview Lab

Preview with #042C29

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

Preview Lab → · Contrast checker → · Palette generator →

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