#042F29#042F29

#042F29 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.5% C 0.046 H 181.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#042F29
RGBrgb(4, 47, 41)
HSLhsl(172, 84%, 10%)
HSVhsv(172, 91%, 18%)
CMYKcmyk(91.5%, 0%, 12.8%, 81.6%)
CIE-LABlab(16.60, -16.02, -0.25)
CIE-LCHlch(16.60, 16.02, 180.90°)
OKLaboklab(27.52% -0.0465 -0.0009)
OKLCHoklch(27.52% 0.047 181.2)
XYZxyz(1.4666, 2.2188, 2.4484)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F29 #2F040A
analogous
#042F14 #042F29 #041F2F
triadic
#042F29 #29042F #2F2904
tetradic
#042F29 #14042F #2F040A #1F2F04
square
#042F29 #14042F #2F040A #1F2F04
split-complementary
#042F29 #2F041F #2F1404
monochromatic
#021C19 #021C19 #042F29 #09675A #0EA08B

Accessibility & contrast

On white

14.54
#042F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#042F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F29
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F29#FFFFFF#000000##FFFFFF
##042F291.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C29
Deuteranopia (green-blind)
#27272A
Tritanopia (blue-blind)
#00302D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f29;
/* rgb */ color: rgb(4, 47, 41);
/* oklch */ color: oklch(27.5% 0.046 181.2);
Tailwind
colors: {
  custom: {
    50: '#4d6862',
    500: '#042f29',
    950: '#000000',
  },
}
SCSS
$custom: #042f29;
$custom-light: #4d6862;
$custom-dark: #000000;
JSON
{
  "hex": "#042f29",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 41
  },
  "hsl": {
    "h": 171.628,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27519,
    "c": 0.0465,
    "h": 181.2
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#042F29
secondary
#721D29
accent
#2D4AFB
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#010605
muted
#777A79

Preview Lab

Preview with #042F29

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

Preview Lab → · Contrast checker → · Palette generator →

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