#042B1E#042B1E

#042B1E is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.8% C 0.050 H 166.1°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#042B1E
RGBrgb(4, 43, 30)
HSLhsl(160, 83%, 9%)
HSVhsv(160, 91%, 17%)
CMYKcmyk(90.7%, 0%, 30.2%, 83.1%)
CIE-LABlab(14.66, -17.45, 4.67)
CIE-LCHlch(14.66, 18.06, 165.02°)
OKLaboklab(25.82% -0.0481 0.0119)
OKLCHoklch(25.82% 0.05 166.1)
XYZxyz(1.1482, 1.8472, 1.5241)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B1E #2B0411
analogous
#042B0B #042B1E #04252B
triadic
#042B1E #1E042B #2B1E04
tetradic
#042B1E #0B042B #2B0411 #252B04
square
#042B1E #0B042B #2B0411 #252B04
split-complementary
#042B1E #2B0425 #2B0B04
monochromatic
#031C14 #031C14 #042B1E #096345 #0E9B6C

Accessibility & contrast

On white

15.34
#042B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B1E
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B1E#FFFFFF#000000##FFFFFF
##042B1E1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b1e;
/* rgb */ color: rgb(4, 43, 30);
/* oklch */ color: oklch(25.8% 0.050 166.1);
Tailwind
colors: {
  custom: {
    50: '#4b6459',
    500: '#042b1e',
    950: '#000000',
  },
}
SCSS
$custom: #042b1e;
$custom-light: #4b6459;
$custom-dark: #000000;
JSON
{
  "hex": "#042b1e",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 30
  },
  "hsl": {
    "h": 160,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25822,
    "c": 0.04957,
    "h": 166.1
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#042B1E
secondary
#6E1D38
accent
#2E72F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #042B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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