#042D2B#042D2B

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

Color values

HEX#042D2B
RGBrgb(4, 45, 43)
HSLhsl(177, 84%, 10%)
HSVhsv(177, 91%, 18%)
CMYKcmyk(91.1%, 0%, 4.4%, 82.4%)
CIE-LABlab(15.89, -14.17, -2.70)
CIE-LCHlch(15.89, 14.42, 190.78°)
OKLaboklab(26.96% -0.0428 -0.0076)
OKLCHoklch(26.96% 0.044 190)
XYZxyz(1.4243, 2.0768, 2.6108)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D2B #2D0406
analogous
#042D17 #042D2B #041B2D
triadic
#042D2B #2B042D #2D2B04
tetradic
#042D2B #17042D #2D0406 #1B2D04
square
#042D2B #17042D #2D0406 #1B2D04
split-complementary
#042D2B #2D041B #2D1704
monochromatic
#021C1B #021C1B #042D2B #096561 #0E9D96

Accessibility & contrast

On white

14.84
#042D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042D2B
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D2B#FFFFFF#000000##FFFFFF
##042D2B1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A2B
Deuteranopia (green-blind)
#24262B
Tritanopia (blue-blind)
#002F2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042d2b;
/* rgb */ color: rgb(4, 45, 43);
/* oklch */ color: oklch(27.0% 0.043 190.0);
Tailwind
colors: {
  custom: {
    50: '#4c6664',
    500: '#042d2b',
    950: '#000000',
  },
}
SCSS
$custom: #042d2b;
$custom-light: #4c6664;
$custom-dark: #000000;
JSON
{
  "hex": "#042d2b",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 177.073,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26963,
    "c": 0.0435,
    "h": 190
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#042D2B
secondary
#701D21
accent
#2E38FA
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#010605
muted
#777A79

Preview Lab

Preview with #042D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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