#042F23#042F23

#042F23 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.3% C 0.051 H 169.5°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#042F23
RGBrgb(4, 47, 35)
HSLhsl(163, 84%, 10%)
HSVhsv(163, 91%, 18%)
CMYKcmyk(91.5%, 0%, 25.5%, 81.6%)
CIE-LABlab(16.40, -18.00, 3.65)
CIE-LCHlch(16.40, 18.36, 168.54°)
OKLaboklab(27.3% -0.0501 0.0093)
OKLCHoklch(27.3% 0.051 169.5)
XYZxyz(1.3698, 2.1800, 1.9384)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F23 #2F0410
analogous
#042F0E #042F23 #04252F
triadic
#042F23 #23042F #2F2304
tetradic
#042F23 #0E042F #2F0410 #252F04
square
#042F23 #0E042F #2F0410 #252F04
split-complementary
#042F23 #2F0425 #2F0E04
monochromatic
#021C15 #021C15 #042F23 #09674D #0EA077

Accessibility & contrast

On white

14.62
#042F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#042F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F23
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F23#FFFFFF#000000##FFFFFF
##042F231.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B22
Deuteranopia (green-blind)
#282724
Tritanopia (blue-blind)
#002F2C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f23;
/* rgb */ color: rgb(4, 47, 35);
/* oklch */ color: oklch(27.3% 0.051 169.5);
Tailwind
colors: {
  custom: {
    50: '#4c685d',
    500: '#042f23',
    950: '#000000',
  },
}
SCSS
$custom: #042f23;
$custom-light: #4c685d;
$custom-dark: #000000;
JSON
{
  "hex": "#042f23",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 163.256,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27299,
    "c": 0.05095,
    "h": 169.5
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#042F23
secondary
#721D35
accent
#2D67FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #042F23

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

Preview Lab → · Contrast checker → · Palette generator →

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