#042F32#042F32

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

Color values

HEX#042F32
RGBrgb(4, 47, 50)
HSLhsl(184, 85%, 11%)
HSVhsv(184, 92%, 20%)
CMYKcmyk(92%, 6%, 0%, 80.4%)
CIE-LABlab(16.94, -12.71, -6.02)
CIE-LCHlch(16.94, 14.06, 205.36°)
OKLaboklab(27.91% -0.0414 -0.0167)
OKLCHoklch(27.91% 0.045 202)
XYZxyz(1.6420, 2.2889, 3.3723)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F32 #320704
analogous
#04321E #042F32 #041832
triadic
#042F32 #32042F #2F3204
tetradic
#042F32 #1E0432 #320704 #183204
square
#042F32 #1E0432 #320704 #183204
split-complementary
#042F32 #320418 #321E04
monochromatic
#021B1C #021B1C #042F32 #09646B #0D9AA3

Accessibility & contrast

On white

14.41
#042F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#042F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F32
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F32#FFFFFF#000000##FFFFFF
##042F321.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C32
Deuteranopia (green-blind)
#242832
Tritanopia (blue-blind)
#003130
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042f32;
/* rgb */ color: rgb(4, 47, 50);
/* oklch */ color: oklch(27.9% 0.045 202.0);
Tailwind
colors: {
  custom: {
    50: '#4e6769',
    500: '#042f32',
    950: '#000000',
  },
}
SCSS
$custom: #042f32;
$custom-light: #4e6769;
$custom-dark: #000000;
JSON
{
  "hex": "#042f32",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 50
  },
  "hsl": {
    "h": 183.913,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27908,
    "c": 0.04465,
    "h": 202
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#042F32
secondary
#74231D
accent
#3A2CFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #042F32

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

Preview Lab → · Contrast checker → · Palette generator →

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