#042E2A#042E2A

#042E2A is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.2% C 0.045 H 185.4°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#042E2A
RGBrgb(4, 46, 42)
HSLhsl(174, 84%, 10%)
HSVhsv(174, 91%, 18%)
CMYKcmyk(91.3%, 0%, 8.7%, 82%)
CIE-LABlab(16.24, -15.10, -1.47)
CIE-LCHlch(16.24, 15.18, 185.57°)
OKLaboklab(27.24% -0.0447 -0.0042)
OKLCHoklch(27.24% 0.045 185.4)
XYZxyz(1.4448, 2.1468, 2.5283)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E2A #2E0408
analogous
#042E15 #042E2A #041D2E
triadic
#042E2A #2A042E #2E2A04
tetradic
#042E2A #15042E #2E0408 #1D2E04
square
#042E2A #15042E #2E0408 #1D2E04
split-complementary
#042E2A #2E041D #2E1504
monochromatic
#021C1A #021C1A #042E2A #09665D #0E9F91

Accessibility & contrast

On white

14.69
#042E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#042E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E2A
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E2A#FFFFFF#000000##FFFFFF
##042E2A1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2A
Deuteranopia (green-blind)
#25262A
Tritanopia (blue-blind)
#002F2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042e2a;
/* rgb */ color: rgb(4, 46, 42);
/* oklch */ color: oklch(27.2% 0.045 185.4);
Tailwind
colors: {
  custom: {
    50: '#4c6763',
    500: '#042e2a',
    950: '#000000',
  },
}
SCSS
$custom: #042e2a;
$custom-light: #4c6763;
$custom-dark: #000000;
JSON
{
  "hex": "#042e2a",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 174.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27239,
    "c": 0.04486,
    "h": 185.4
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#042E2A
secondary
#711D25
accent
#2E41FA
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#010605
muted
#777A79

Preview Lab

Preview with #042E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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