#042C2D#042C2D

#042C2D is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.7% C 0.042 H 197.4°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#042C2D
RGBrgb(4, 44, 45)
HSLhsl(181, 84%, 10%)
HSVhsv(181, 91%, 18%)
CMYKcmyk(91.1%, 2.2%, 0%, 82.4%)
CIE-LABlab(15.57, -12.83, -4.57)
CIE-LCHlch(15.57, 13.62, 199.61°)
OKLaboklab(26.74% -0.0405 -0.0127)
OKLCHoklch(26.74% 0.042 197.4)
XYZxyz(1.4242, 2.0165, 2.7963)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C2D #2D0504
analogous
#042D1A #042C2D #04182D
triadic
#042C2D #2D042C #2C2D04
tetradic
#042C2D #1A042D #2D0504 #182D04
square
#042C2D #1A042D #2D0504 #182D04
split-complementary
#042C2D #2D0418 #2D1A04
monochromatic
#021B1C #021B1C #042C2D #096365 #0E9A9D

Accessibility & contrast

On white

14.96
#042C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042C2D
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C2D#FFFFFF#000000##FFFFFF
##042C2D1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292D
Deuteranopia (green-blind)
#22252D
Tritanopia (blue-blind)
#002E2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042c2d;
/* rgb */ color: rgb(4, 44, 45);
/* oklch */ color: oklch(26.7% 0.042 197.4);
Tailwind
colors: {
  custom: {
    50: '#4c6565',
    500: '#042c2d',
    950: '#000000',
  },
}
SCSS
$custom: #042c2d;
$custom-light: #4c6565;
$custom-dark: #000000;
JSON
{
  "hex": "#042c2d",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 45
  },
  "hsl": {
    "h": 181.463,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26735,
    "c": 0.04241,
    "h": 197.4
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#042C2D
secondary
#701F1D
accent
#332EFA
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#010505
muted
#777A7A

Preview Lab

Preview with #042C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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