#042D31#042D31

#042D31 is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.2% C 0.043 H 204.8°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#042D31
RGBrgb(4, 45, 49)
HSLhsl(185, 85%, 10%)
HSVhsv(185, 92%, 19%)
CMYKcmyk(91.8%, 8.2%, 0%, 80.8%)
CIE-LABlab(16.13, -11.88, -6.55)
CIE-LCHlch(16.13, 13.56, 208.86°)
OKLaboklab(27.24% -0.0395 -0.0182)
OKLCHoklch(27.24% 0.044 204.8)
XYZxyz(1.5426, 2.1241, 3.2338)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D31 #310804
analogous
#04311E #042D31 #041631
triadic
#042D31 #31042D #2D3104
tetradic
#042D31 #1E0431 #310804 #163104
square
#042D31 #1E0431 #310804 #163104
split-complementary
#042D31 #310416 #311E04
monochromatic
#021A1C #021A1C #042D31 #09616A #0D95A2

Accessibility & contrast

On white

14.74
#042D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#042D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D31
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D31#FFFFFF#000000##FFFFFF
##042D311.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B31
Deuteranopia (green-blind)
#222631
Tritanopia (blue-blind)
#002F2E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042d31;
/* rgb */ color: rgb(4, 45, 49);
/* oklch */ color: oklch(27.2% 0.043 204.8);
Tailwind
colors: {
  custom: {
    50: '#4d6669',
    500: '#042d31',
    950: '#000000',
  },
}
SCSS
$custom: #042d31;
$custom-light: #4d6669;
$custom-dark: #000000;
JSON
{
  "hex": "#042d31",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 49
  },
  "hsl": {
    "h": 185.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27238,
    "c": 0.0435,
    "h": 204.8
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#042D31
secondary
#73251D
accent
#3F2DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #042D31

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

Preview Lab → · Contrast checker → · Palette generator →

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