#042E2E#042E2E

#042E2E is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.4% C 0.044 H 194.9°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#042E2E
RGBrgb(4, 46, 46)
HSLhsl(180, 84%, 10%)
HSVhsv(180, 91%, 18%)
CMYKcmyk(91.3%, 0%, 0%, 82%)
CIE-LABlab(16.39, -13.64, -4.05)
CIE-LCHlch(16.39, 14.23, 196.54°)
OKLaboklab(27.41% -0.0424 -0.0113)
OKLCHoklch(27.41% 0.044 194.9)
XYZxyz(1.5200, 2.1769, 2.9243)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E2E #2E0404
analogous
#042E19 #042E2E #04192E
triadic
#042E2E #2E042E #2E2E04
tetradic
#042E2E #19042E #2E0404 #192E04
square
#042E2E #19042E #2E0404 #192E04
split-complementary
#042E2E #2E0419 #2E1904
monochromatic
#021C1C #021C1C #042E2E #096666 #0E9F9F

Accessibility & contrast

On white

14.63
#042E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042E2E
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E2E#FFFFFF#000000##FFFFFF
##042E2E1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#24272E
Tritanopia (blue-blind)
#00302E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042e2e;
/* rgb */ color: rgb(4, 46, 46);
/* oklch */ color: oklch(27.4% 0.044 194.9);
Tailwind
colors: {
  custom: {
    50: '#4d6766',
    500: '#042e2e',
    950: '#000000',
  },
}
SCSS
$custom: #042e2e;
$custom-light: #4d6766;
$custom-dark: #000000;
JSON
{
  "hex": "#042e2e",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 180,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27411,
    "c": 0.04384,
    "h": 194.9
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#042E2E
secondary
#711D1D
accent
#2E2EFA
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #042E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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