#042B1A#042B1A

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

Color values

HEX#042B1A
RGBrgb(4, 43, 26)
HSLhsl(154, 83%, 9%)
HSVhsv(154, 91%, 17%)
CMYKcmyk(90.7%, 0%, 39.5%, 83.1%)
CIE-LABlab(14.56, -18.60, 7.31)
CIE-LCHlch(14.56, 19.99, 158.56°)
OKLaboklab(25.7% -0.0506 0.0185)
OKLCHoklch(25.7% 0.054 159.9)
XYZxyz(1.1003, 1.8280, 1.2719)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B1A #2B0415
analogous
#042B07 #042B1A #04292B
triadic
#042B1A #1A042B #2B1A04
tetradic
#042B1A #07042B #2B0415 #292B04
square
#042B1A #07042B #2B0415 #292B04
split-complementary
#042B1A #2B0429 #2B0704
monochromatic
#031C11 #031C11 #042B1A #09633C #0E9B5E

Accessibility & contrast

On white

15.38
#042B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B1A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B1A#FFFFFF#000000##FFFFFF
##042B1A1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b1a;
/* rgb */ color: rgb(4, 43, 26);
/* oklch */ color: oklch(25.7% 0.054 159.9);
Tailwind
colors: {
  custom: {
    50: '#4b6556',
    500: '#042b1a',
    950: '#000000',
  },
}
SCSS
$custom: #042b1a;
$custom-light: #4b6556;
$custom-dark: #000000;
JSON
{
  "hex": "#042b1a",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 26
  },
  "hsl": {
    "h": 153.846,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.257,
    "c": 0.05383,
    "h": 159.9
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#042B1A
secondary
#6E1D40
accent
#2E87F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #042B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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