#042427#042427

#042427 is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.9% C 0.037 H 204.0°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#042427
RGBrgb(4, 36, 39)
HSLhsl(185, 81%, 8%)
HSVhsv(185, 90%, 15%)
CMYKcmyk(89.7%, 7.7%, 0%, 84.7%)
CIE-LABlab(12.18, -10.22, -5.39)
CIE-LCHlch(12.18, 11.55, 207.81°)
OKLaboklab(23.9% -0.0337 -0.015)
OKLCHoklch(23.9% 0.037 204)
XYZxyz(1.0470, 1.4339, 2.1407)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042427 #270704
analogous
#042718 #042427 #041227
triadic
#042427 #270424 #242704
tetradic
#042427 #180427 #270704 #122704
square
#042427 #180427 #270704 #122704
split-complementary
#042427 #270412 #271804
monochromatic
#031A1C #031A1C #042427 #0A575F #0F8A96

Accessibility & contrast

On white

16.32
#042427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#042427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042427
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042427#FFFFFF#000000##FFFFFF
##0424271.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202227
Deuteranopia (green-blind)
#1B1E27
Tritanopia (blue-blind)
#002625
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042427;
/* rgb */ color: rgb(4, 36, 39);
/* oklch */ color: oklch(23.9% 0.037 204.0);
Tailwind
colors: {
  custom: {
    50: '#4a5e61',
    500: '#042427',
    950: '#000000',
  },
}
SCSS
$custom: #042427;
$custom-light: #4a5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#042427",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 39
  },
  "hsl": {
    "h": 185.143,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23903,
    "c": 0.03688,
    "h": 204
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#042427
secondary
#6A241D
accent
#4130F8
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #042427

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

Preview Lab → · Contrast checker → · Palette generator →

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