#042829#042829

#042829 is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.3% C 0.040 H 197.7°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#042829
RGBrgb(4, 40, 41)
HSLhsl(182, 82%, 9%)
HSVhsv(182, 90%, 16%)
CMYKcmyk(90.2%, 2.4%, 0%, 83.9%)
CIE-LABlab(13.85, -11.93, -4.32)
CIE-LCHlch(13.85, 12.69, 199.92°)
OKLaboklab(25.28% -0.0377 -0.012)
OKLCHoklch(25.28% 0.04 197.7)
XYZxyz(1.2089, 1.7033, 2.3625)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042829 #290504
analogous
#042918 #042829 #041629
triadic
#042829 #290428 #282904
tetradic
#042829 #180429 #290504 #162904
square
#042829 #180429 #290504 #162904
split-complementary
#042829 #290416 #291804
monochromatic
#031B1C #031B1C #042829 #095E61 #0F9599

Accessibility & contrast

On white

15.66
#042829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#042829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042829
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042829#FFFFFF#000000##FFFFFF
##0428291.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242629
Deuteranopia (green-blind)
#1F2229
Tritanopia (blue-blind)
#002A28
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #042829;
/* rgb */ color: rgb(4, 40, 41);
/* oklch */ color: oklch(25.3% 0.040 197.7);
Tailwind
colors: {
  custom: {
    50: '#4b6262',
    500: '#042829',
    950: '#000000',
  },
}
SCSS
$custom: #042829;
$custom-light: #4b6262;
$custom-dark: #000000;
JSON
{
  "hex": "#042829",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 181.622,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2528,
    "c": 0.03957,
    "h": 197.7
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#042829
secondary
#6C1F1D
accent
#352FF9
background
#F4F5F5
surface
#E7EAEA
border
#C3C6C6
text
#010505
muted
#777979

Preview Lab

Preview with #042829

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

Preview Lab → · Contrast checker → · Palette generator →

#042829 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva