#042B1C#042B1C

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

Color values

HEX#042B1C
RGBrgb(4, 43, 28)
HSLhsl(157, 83%, 9%)
HSVhsv(157, 91%, 17%)
CMYKcmyk(90.7%, 0%, 34.9%, 83.1%)
CIE-LABlab(14.61, -18.04, 5.99)
CIE-LCHlch(14.61, 19.01, 161.64°)
OKLaboklab(25.76% -0.0493 0.0152)
OKLCHoklch(25.76% 0.052 162.8)
XYZxyz(1.1234, 1.8373, 1.3938)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B1C #2B0413
analogous
#042B09 #042B1C #04272B
triadic
#042B1C #1C042B #2B1C04
tetradic
#042B1C #09042B #2B0413 #272B04
square
#042B1C #09042B #2B0413 #272B04
split-complementary
#042B1C #2B0427 #2B0904
monochromatic
#031C12 #031C12 #042B1C #096340 #0E9B65

Accessibility & contrast

On white

15.36
#042B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B1C
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B1C#FFFFFF#000000##FFFFFF
##042B1C1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b1c;
/* rgb */ color: rgb(4, 43, 28);
/* oklch */ color: oklch(25.8% 0.052 162.8);
Tailwind
colors: {
  custom: {
    50: '#4b6558',
    500: '#042b1c',
    950: '#000000',
  },
}
SCSS
$custom: #042b1c;
$custom-light: #4b6558;
$custom-dark: #000000;
JSON
{
  "hex": "#042b1c",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 28
  },
  "hsl": {
    "h": 156.923,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25759,
    "c": 0.05163,
    "h": 162.8
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#042B1C
secondary
#6E1D3C
accent
#2E7CF9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #042B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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