#042F2D#042F2D

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

Color values

HEX#042F2D
RGBrgb(4, 47, 45)
HSLhsl(177, 84%, 10%)
HSVhsv(177, 91%, 18%)
CMYKcmyk(91.5%, 0%, 4.3%, 81.6%)
CIE-LABlab(16.74, -14.59, -2.83)
CIE-LCHlch(16.74, 14.87, 190.98°)
OKLaboklab(27.68% -0.0442 -0.0079)
OKLCHoklch(27.68% 0.045 190.2)
XYZxyz(1.5400, 2.2481, 2.8349)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F2D #2F0406
analogous
#042F17 #042F2D #041C2F
triadic
#042F2D #2D042F #2F2D04
tetradic
#042F2D #17042F #2F0406 #1C2F04
square
#042F2D #17042F #2F0406 #1C2F04
split-complementary
#042F2D #2F041C #2F1704
monochromatic
#021C1B #021C1B #042F2D #096763 #0EA099

Accessibility & contrast

On white

14.49
#042F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042F2D
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F2D#FFFFFF#000000##FFFFFF
##042F2D1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2D
Deuteranopia (green-blind)
#25272D
Tritanopia (blue-blind)
#00312E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f2d;
/* rgb */ color: rgb(4, 47, 45);
/* oklch */ color: oklch(27.7% 0.045 190.2);
Tailwind
colors: {
  custom: {
    50: '#4d6765',
    500: '#042f2d',
    950: '#000000',
  },
}
SCSS
$custom: #042f2d;
$custom-light: #4d6765;
$custom-dark: #000000;
JSON
{
  "hex": "#042f2d",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 177.209,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27683,
    "c": 0.04488,
    "h": 190.2
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#042F2D
secondary
#721D21
accent
#2D37FB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #042F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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