#042F1D#042F1D

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

Color values

HEX#042F1D
RGBrgb(4, 47, 29)
HSLhsl(155, 84%, 10%)
HSVhsv(155, 91%, 18%)
CMYKcmyk(91.5%, 0%, 38.3%, 81.6%)
CIE-LABlab(16.24, -19.76, 7.55)
CIE-LCHlch(16.24, 21.16, 159.09°)
OKLaboklab(27.11% -0.0537 0.0191)
OKLCHoklch(27.11% 0.057 160.4)
XYZxyz(1.2882, 2.1474, 1.5088)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F1D #2F0416
analogous
#042F08 #042F1D #042B2F
triadic
#042F1D #1D042F #2F1D04
tetradic
#042F1D #08042F #2F0416 #2B2F04
square
#042F1D #08042F #2F0416 #2B2F04
split-complementary
#042F1D #2F042B #2F0804
monochromatic
#021C11 #021C11 #042F1D #096740 #0EA063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##042F1D#FFFFFF#000000##FFFFFF
##042F1D1.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)
#2E2B1C
Deuteranopia (green-blind)
#29271E
Tritanopia (blue-blind)
#002F2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042f1d;
/* rgb */ color: rgb(4, 47, 29);
/* oklch */ color: oklch(27.1% 0.057 160.4);
Tailwind
colors: {
  custom: {
    50: '#4c6859',
    500: '#042f1d',
    950: '#000000',
  },
}
SCSS
$custom: #042f1d;
$custom-light: #4c6859;
$custom-dark: #000000;
JSON
{
  "hex": "#042f1d",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 29
  },
  "hsl": {
    "h": 154.884,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27112,
    "c": 0.05702,
    "h": 160.4
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#042F1D
secondary
#721D41
accent
#2D83FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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