#042F26#042F26

#042F26 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.4% C 0.048 H 175.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#042F26
RGBrgb(4, 47, 38)
HSLhsl(167, 84%, 10%)
HSVhsv(167, 91%, 18%)
CMYKcmyk(91.5%, 0%, 19.1%, 81.6%)
CIE-LABlab(16.50, -17.03, 1.70)
CIE-LCHlch(16.50, 17.12, 174.32°)
OKLaboklab(27.41% -0.0483 0.0042)
OKLCHoklch(27.41% 0.048 175)
XYZxyz(1.4163, 2.1986, 2.1831)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F26 #2F040D
analogous
#042F11 #042F26 #04222F
triadic
#042F26 #26042F #2F2604
tetradic
#042F26 #11042F #2F040D #222F04
square
#042F26 #11042F #2F040D #222F04
split-complementary
#042F26 #2F0422 #2F1104
monochromatic
#021C17 #021C17 #042F26 #096754 #0EA081

Accessibility & contrast

On white

14.59
#042F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#042F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F26
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F26#FFFFFF#000000##FFFFFF
##042F261.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B26
Deuteranopia (green-blind)
#272727
Tritanopia (blue-blind)
#00302C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f26;
/* rgb */ color: rgb(4, 47, 38);
/* oklch */ color: oklch(27.4% 0.048 175.0);
Tailwind
colors: {
  custom: {
    50: '#4c6860',
    500: '#042f26',
    950: '#000000',
  },
}
SCSS
$custom: #042f26;
$custom-light: #4c6860;
$custom-dark: #000000;
JSON
{
  "hex": "#042f26",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 167.442,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27405,
    "c": 0.04846,
    "h": 175
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#042F26
secondary
#721D2F
accent
#2D58FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #042F26

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

Preview Lab → · Contrast checker → · Palette generator →

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