#042F2E#042F2E

#042F2E is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.7% C 0.045 H 192.5°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#042F2E
RGBrgb(4, 47, 46)
HSLhsl(179, 84%, 10%)
HSVhsv(179, 91%, 18%)
CMYKcmyk(91.5%, 0%, 2.1%, 81.6%)
CIE-LABlab(16.78, -14.23, -3.47)
CIE-LCHlch(16.78, 14.64, 193.72°)
OKLaboklab(27.73% -0.0436 -0.0097)
OKLCHoklch(27.73% 0.045 192.5)
XYZxyz(1.5595, 2.2559, 2.9375)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F2E #2F0405
analogous
#042F19 #042F2E #041A2F
triadic
#042F2E #2E042F #2F2E04
tetradic
#042F2E #19042F #2F0405 #1A2F04
square
#042F2E #19042F #2F0405 #1A2F04
split-complementary
#042F2E #2F041A #2F1904
monochromatic
#021C1C #021C1C #042F2E #096765 #0EA09C

Accessibility & contrast

On white

14.47
#042F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#042F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F2E
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F2E#FFFFFF#000000##FFFFFF
##042F2E1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2E
Deuteranopia (green-blind)
#25282E
Tritanopia (blue-blind)
#00312F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f2e;
/* rgb */ color: rgb(4, 47, 46);
/* oklch */ color: oklch(27.7% 0.045 192.5);
Tailwind
colors: {
  custom: {
    50: '#4d6766',
    500: '#042f2e',
    950: '#000000',
  },
}
SCSS
$custom: #042f2e;
$custom-light: #4d6766;
$custom-dark: #000000;
JSON
{
  "hex": "#042f2e",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 178.605,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27726,
    "c": 0.04466,
    "h": 192.5
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#042F2E
secondary
#721D1F
accent
#2D32FB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #042F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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