#042728#042728

#042728 is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.9% C 0.039 H 197.7°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#042728
RGBrgb(4, 39, 40)
HSLhsl(182, 82%, 9%)
HSVhsv(182, 90%, 16%)
CMYKcmyk(90%, 2.5%, 0%, 84.3%)
CIE-LABlab(13.41, -11.71, -4.26)
CIE-LCHlch(13.41, 12.46, 200.00°)
OKLaboklab(24.91% -0.037 -0.0118)
OKLCHoklch(24.91% 0.039 197.7)
XYZxyz(1.1584, 1.6299, 2.2606)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042728 #280504
analogous
#042817 #042728 #041528
triadic
#042728 #280427 #272804
tetradic
#042728 #170428 #280504 #152804
square
#042728 #170428 #280504 #152804
split-complementary
#042728 #280415 #281704
monochromatic
#031B1C #031B1C #042728 #0A5D60 #0F9397

Accessibility & contrast

On white

15.84
#042728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#042728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042728
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042728#FFFFFF#000000##FFFFFF
##0427281.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232528
Deuteranopia (green-blind)
#1E2128
Tritanopia (blue-blind)
#002927
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042728;
/* rgb */ color: rgb(4, 39, 40);
/* oklch */ color: oklch(24.9% 0.039 197.7);
Tailwind
colors: {
  custom: {
    50: '#4b6161',
    500: '#042728',
    950: '#000000',
  },
}
SCSS
$custom: #042728;
$custom-light: #4b6161;
$custom-dark: #000000;
JSON
{
  "hex": "#042728",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 181.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24913,
    "c": 0.03884,
    "h": 197.7
  },
  "luminance": 0.0163
}

Semantic roles & 50–950 ramp

primary
#042728
secondary
#6B1F1D
accent
#3530F8
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010505
muted
#777979

Preview Lab

Preview with #042728

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

Preview Lab → · Contrast checker → · Palette generator →

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