#042B1D#042B1D

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

Color values

HEX#042B1D
RGBrgb(4, 43, 29)
HSLhsl(158, 83%, 9%)
HSVhsv(158, 91%, 17%)
CMYKcmyk(90.7%, 0%, 32.6%, 83.1%)
CIE-LABlab(14.64, -17.75, 5.33)
CIE-LCHlch(14.64, 18.53, 163.29°)
OKLaboklab(25.79% -0.0487 0.0136)
OKLCHoklch(25.79% 0.051 164.4)
XYZxyz(1.1356, 1.8421, 1.4579)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B1D #2B0412
analogous
#042B0A #042B1D #04262B
triadic
#042B1D #1D042B #2B1D04
tetradic
#042B1D #0A042B #2B0412 #262B04
square
#042B1D #0A042B #2B0412 #262B04
split-complementary
#042B1D #2B0426 #2B0A04
monochromatic
#031C13 #031C13 #042B1D #096343 #0E9B69

Accessibility & contrast

On white

15.35
#042B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B1D
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B1D#FFFFFF#000000##FFFFFF
##042B1D1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b1d;
/* rgb */ color: rgb(4, 43, 29);
/* oklch */ color: oklch(25.8% 0.051 164.4);
Tailwind
colors: {
  custom: {
    50: '#4b6458',
    500: '#042b1d',
    950: '#000000',
  },
}
SCSS
$custom: #042b1d;
$custom-light: #4b6458;
$custom-dark: #000000;
JSON
{
  "hex": "#042b1d",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 29
  },
  "hsl": {
    "h": 158.462,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2579,
    "c": 0.05058,
    "h": 164.4
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#042B1D
secondary
#6E1D3A
accent
#2E77F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #042B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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