#042C1B#042C1B

#042C1B is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.1% C 0.054 H 160.4°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#042C1B
RGBrgb(4, 44, 27)
HSLhsl(155, 83%, 9%)
HSVhsv(155, 91%, 17%)
CMYKcmyk(90.9%, 0%, 38.6%, 82.7%)
CIE-LABlab(14.99, -18.83, 7.20)
CIE-LCHlch(14.99, 20.16, 159.06°)
OKLaboklab(26.06% -0.0512 0.0183)
OKLCHoklch(26.06% 0.054 160.4)
XYZxyz(1.1485, 1.9062, 1.3441)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C1B #2C0415
analogous
#042C07 #042C1B #04292C
triadic
#042C1B #1B042C #2C1B04
tetradic
#042C1B #07042C #2C0415 #292C04
square
#042C1B #07042C #2C0415 #292C04
split-complementary
#042C1B #2C0429 #2C0704
monochromatic
#031C11 #031C11 #042C1B #09643D #0E9C60

Accessibility & contrast

On white

15.20
#042C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#042C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C1B
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C1B#FFFFFF#000000##FFFFFF
##042C1B1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281A
Deuteranopia (green-blind)
#26241C
Tritanopia (blue-blind)
#002C27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042c1b;
/* rgb */ color: rgb(4, 44, 27);
/* oklch */ color: oklch(26.1% 0.054 160.4);
Tailwind
colors: {
  custom: {
    50: '#4b6557',
    500: '#042c1b',
    950: '#000000',
  },
}
SCSS
$custom: #042c1b;
$custom-light: #4b6557;
$custom-dark: #000000;
JSON
{
  "hex": "#042c1b",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 27
  },
  "hsl": {
    "h": 154.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26061,
    "c": 0.05436,
    "h": 160.4
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#042C1B
secondary
#6F1D40
accent
#2E85FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #042C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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