#042A29#042A29

#042A29 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.9% C 0.041 H 192.3°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#042A29
RGBrgb(4, 42, 41)
HSLhsl(178, 83%, 9%)
HSVhsv(178, 90%, 16%)
CMYKcmyk(90.5%, 0%, 2.4%, 83.5%)
CIE-LABlab(14.63, -13.14, -3.15)
CIE-LCHlch(14.63, 13.51, 193.47°)
OKLaboklab(25.92% -0.0402 -0.0088)
OKLCHoklch(25.92% 0.041 192.3)
XYZxyz(1.2781, 1.8417, 2.3855)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042A29 #2A0405
analogous
#042A16 #042A29 #04182A
triadic
#042A29 #29042A #2A2904
tetradic
#042A29 #16042A #2A0405 #182A04
square
#042A29 #16042A #2A0405 #182A04
split-complementary
#042A29 #2A0418 #2A1604
monochromatic
#031C1B #031C1B #042A29 #096260 #0F9A96

Accessibility & contrast

On white

15.35
#042A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#042A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042A29
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042A29#FFFFFF#000000##FFFFFF
##042A291.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272729
Deuteranopia (green-blind)
#212329
Tritanopia (blue-blind)
#002C2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042a29;
/* rgb */ color: rgb(4, 42, 41);
/* oklch */ color: oklch(25.9% 0.041 192.3);
Tailwind
colors: {
  custom: {
    50: '#4b6362',
    500: '#042a29',
    950: '#000000',
  },
}
SCSS
$custom: #042a29;
$custom-light: #4b6362;
$custom-dark: #000000;
JSON
{
  "hex": "#042a29",
  "rgb": {
    "r": 4,
    "g": 42,
    "b": 41
  },
  "hsl": {
    "h": 178.421,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25919,
    "c": 0.04118,
    "h": 192.3
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#042A29
secondary
#6D1D1F
accent
#2F34F9
background
#F4F5F5
surface
#E7EAEA
border
#C3C6C6
text
#010505
muted
#777979

Preview Lab

Preview with #042A29

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

Preview Lab → · Contrast checker → · Palette generator →

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