#042F27#042F27

#042F27 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.4% C 0.048 H 177.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#042F27
RGBrgb(4, 47, 39)
HSLhsl(169, 84%, 10%)
HSVhsv(169, 91%, 18%)
CMYKcmyk(91.5%, 0%, 17%, 81.6%)
CIE-LABlab(16.53, -16.70, 1.05)
CIE-LCHlch(16.53, 16.73, 176.42°)
OKLaboklab(27.44% -0.0477 0.0025)
OKLCHoklch(27.44% 0.048 177)
XYZxyz(1.4326, 2.2051, 2.2692)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F27 #2F040C
analogous
#042F11 #042F27 #04222F
triadic
#042F27 #27042F #2F2704
tetradic
#042F27 #11042F #2F040C #222F04
square
#042F27 #11042F #2F040C #222F04
split-complementary
#042F27 #2F0422 #2F1104
monochromatic
#021C17 #021C17 #042F27 #096756 #0EA085

Accessibility & contrast

On white

14.57
#042F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#042F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F27
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F27#FFFFFF#000000##FFFFFF
##042F271.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B27
Deuteranopia (green-blind)
#272728
Tritanopia (blue-blind)
#00302D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f27;
/* rgb */ color: rgb(4, 47, 39);
/* oklch */ color: oklch(27.4% 0.048 177.0);
Tailwind
colors: {
  custom: {
    50: '#4c6861',
    500: '#042f27',
    950: '#000000',
  },
}
SCSS
$custom: #042f27;
$custom-light: #4c6861;
$custom-dark: #000000;
JSON
{
  "hex": "#042f27",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 168.837,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27442,
    "c": 0.04775,
    "h": 177
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#042F27
secondary
#721D2D
accent
#2D53FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010605
muted
#777A79

Preview Lab

Preview with #042F27

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

Preview Lab → · Contrast checker → · Palette generator →

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