#042E1F#042E1F

#042E1F is a dark, muted teal. Relative luminance 0.021; OKLCH L 26.8% C 0.053 H 164.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#042E1F
RGBrgb(4, 46, 31)
HSLhsl(159, 84%, 10%)
HSVhsv(159, 91%, 18%)
CMYKcmyk(91.3%, 0%, 32.6%, 82%)
CIE-LABlab(15.89, -18.70, 5.70)
CIE-LCHlch(15.89, 19.55, 163.05°)
OKLaboklab(26.84% -0.0513 0.0145)
OKLCHoklch(26.84% 0.053 164.2)
XYZxyz(1.2742, 2.0786, 1.6301)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E1F #2E0413
analogous
#042E0A #042E1F #04282E
triadic
#042E1F #1F042E #2E1F04
tetradic
#042E1F #0A042E #2E0413 #282E04
square
#042E1F #0A042E #2E0413 #282E04
split-complementary
#042E1F #2E0428 #2E0A04
monochromatic
#021C13 #021C13 #042E1F #096645 #0E9F6B

Accessibility & contrast

On white

14.83
#042E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#042E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E1F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E1F#FFFFFF#000000##FFFFFF
##042E1F1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1E
Deuteranopia (green-blind)
#282620
Tritanopia (blue-blind)
#002E2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042e1f;
/* rgb */ color: rgb(4, 46, 31);
/* oklch */ color: oklch(26.8% 0.053 164.2);
Tailwind
colors: {
  custom: {
    50: '#4c675a',
    500: '#042e1f',
    950: '#000000',
  },
}
SCSS
$custom: #042e1f;
$custom-light: #4c675a;
$custom-dark: #000000;
JSON
{
  "hex": "#042e1f",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 158.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26842,
    "c": 0.05329,
    "h": 164.2
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#042E1F
secondary
#711D3B
accent
#2E77FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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