#042F2B#042F2B

#042F2B is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.6% C 0.046 H 185.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#042F2B
RGBrgb(4, 47, 43)
HSLhsl(174, 84%, 10%)
HSVhsv(174, 91%, 18%)
CMYKcmyk(91.5%, 0%, 8.5%, 81.6%)
CIE-LABlab(16.67, -15.32, -1.54)
CIE-LCHlch(16.67, 15.40, 185.75°)
OKLaboklab(27.6% -0.0453 -0.0044)
OKLCHoklch(27.6% 0.046 185.6)
XYZxyz(1.5024, 2.2331, 2.6369)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F2B #2F0408
analogous
#042F16 #042F2B #041D2F
triadic
#042F2B #2B042F #2F2B04
tetradic
#042F2B #16042F #2F0408 #1D2F04
square
#042F2B #16042F #2F0408 #1D2F04
split-complementary
#042F2B #2F041D #2F1604
monochromatic
#021C1A #021C1A #042F2B #09675F #0EA092

Accessibility & contrast

On white

14.52
#042F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042F2B
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F2B#FFFFFF#000000##FFFFFF
##042F2B1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2B
Deuteranopia (green-blind)
#26272B
Tritanopia (blue-blind)
#00302E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f2b;
/* rgb */ color: rgb(4, 47, 43);
/* oklch */ color: oklch(27.6% 0.046 185.6);
Tailwind
colors: {
  custom: {
    50: '#4d6864',
    500: '#042f2b',
    950: '#000000',
  },
}
SCSS
$custom: #042f2b;
$custom-light: #4d6864;
$custom-dark: #000000;
JSON
{
  "hex": "#042f2b",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 174.419,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27599,
    "c": 0.04554,
    "h": 185.6
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#042F2B
secondary
#721D25
accent
#2D40FB
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #042F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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