#042F31#042F31

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

Color values

HEX#042F31
RGBrgb(4, 47, 49)
HSLhsl(183, 85%, 10%)
HSVhsv(183, 92%, 19%)
CMYKcmyk(91.8%, 4.1%, 0%, 80.8%)
CIE-LABlab(16.89, -13.09, -5.39)
CIE-LCHlch(16.89, 14.16, 202.36°)
OKLaboklab(27.86% -0.0419 -0.015)
OKLCHoklch(27.86% 0.045 199.7)
XYZxyz(1.6207, 2.2804, 3.2599)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F31 #310604
analogous
#04311C #042F31 #041831
triadic
#042F31 #31042F #2F3104
tetradic
#042F31 #1C0431 #310604 #183104
square
#042F31 #1C0431 #310604 #183104
split-complementary
#042F31 #310418 #311C04
monochromatic
#021B1C #021B1C #042F31 #09656A #0D9CA2

Accessibility & contrast

On white

14.42
#042F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042F31
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F31#FFFFFF#000000##FFFFFF
##042F311.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042f31;
/* rgb */ color: rgb(4, 47, 49);
/* oklch */ color: oklch(27.9% 0.045 199.7);
Tailwind
colors: {
  custom: {
    50: '#4e6769',
    500: '#042f31',
    950: '#000000',
  },
}
SCSS
$custom: #042f31;
$custom-light: #4e6769;
$custom-dark: #000000;
JSON
{
  "hex": "#042f31",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 182.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27861,
    "c": 0.04453,
    "h": 199.7
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#042F31
secondary
#73211D
accent
#362DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #042F31

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

Preview Lab → · Contrast checker → · Palette generator →

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