#042B1B#042B1B

#042B1B is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.7% C 0.053 H 161.3°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#042B1B
RGBrgb(4, 43, 27)
HSLhsl(155, 83%, 9%)
HSVhsv(155, 91%, 17%)
CMYKcmyk(90.7%, 0%, 37.2%, 83.1%)
CIE-LABlab(14.58, -18.33, 6.65)
CIE-LCHlch(14.58, 19.49, 160.06°)
OKLaboklab(25.73% -0.0499 0.0169)
OKLCHoklch(25.73% 0.053 161.3)
XYZxyz(1.1117, 1.8326, 1.3318)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B1B #2B0414
analogous
#042B08 #042B1B #04282B
triadic
#042B1B #1B042B #2B1B04
tetradic
#042B1B #08042B #2B0414 #282B04
square
#042B1B #08042B #2B0414 #282B04
split-complementary
#042B1B #2B0428 #2B0804
monochromatic
#031C12 #031C12 #042B1B #09633E #0E9B61

Accessibility & contrast

On white

15.37
#042B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#042B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B1B
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B1B#FFFFFF#000000##FFFFFF
##042B1B1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271A
Deuteranopia (green-blind)
#25231C
Tritanopia (blue-blind)
#002B27
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042b1b;
/* rgb */ color: rgb(4, 43, 27);
/* oklch */ color: oklch(25.7% 0.053 161.3);
Tailwind
colors: {
  custom: {
    50: '#4b6557',
    500: '#042b1b',
    950: '#000000',
  },
}
SCSS
$custom: #042b1b;
$custom-light: #4b6557;
$custom-dark: #000000;
JSON
{
  "hex": "#042b1b",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 27
  },
  "hsl": {
    "h": 155.385,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25729,
    "c": 0.05273,
    "h": 161.3
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#042B1B
secondary
#6E1D3E
accent
#2E82F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #042B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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