#042C2F#042C2F

#042C2F is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.8% C 0.043 H 202.5°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#042C2F
RGBrgb(4, 44, 47)
HSLhsl(184, 84%, 10%)
HSVhsv(184, 91%, 18%)
CMYKcmyk(91.5%, 6.4%, 0%, 81.6%)
CIE-LABlab(15.66, -12.05, -5.85)
CIE-LCHlch(15.66, 13.40, 205.91°)
OKLaboklab(26.83% -0.0394 -0.0163)
OKLCHoklch(26.83% 0.043 202.5)
XYZxyz(1.4636, 2.0322, 3.0039)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C2F #2F0704
analogous
#042F1C #042C2F #04172F
triadic
#042C2F #2F042C #2C2F04
tetradic
#042C2F #1C042F #2F0704 #172F04
square
#042C2F #1C042F #2F0704 #172F04
split-complementary
#042C2F #2F0417 #2F1C04
monochromatic
#021A1C #021A1C #042C2F #096167 #0E96A0

Accessibility & contrast

On white

14.93
#042C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C2F
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C2F#FFFFFF#000000##FFFFFF
##042C2F1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2F
Deuteranopia (green-blind)
#22252F
Tritanopia (blue-blind)
#002E2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042c2f;
/* rgb */ color: rgb(4, 44, 47);
/* oklch */ color: oklch(26.8% 0.043 202.5);
Tailwind
colors: {
  custom: {
    50: '#4d6567',
    500: '#042c2f',
    950: '#000000',
  },
}
SCSS
$custom: #042c2f;
$custom-light: #4d6567;
$custom-dark: #000000;
JSON
{
  "hex": "#042c2f",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 47
  },
  "hsl": {
    "h": 184.186,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.26829,
    "c": 0.04259,
    "h": 202.5
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#042C2F
secondary
#72231D
accent
#3C2DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #042C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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