#2F4239#2F4239

#2F4239 is a dark, muted teal. Relative luminance 0.048; OKLCH L 36.0% C 0.029 H 164.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2F4239
RGBrgb(47, 66, 57)
HSLhsl(152, 17%, 22%)
HSVhsv(152, 29%, 26%)
CMYKcmyk(28.8%, 0%, 13.6%, 74.1%)
CIE-LABlab(26.15, -9.81, 3.05)
CIE-LCHlch(26.15, 10.28, 162.76°)
OKLaboklab(35.97% -0.0277 0.0079)
OKLCHoklch(35.97% 0.029 164.2)
XYZxyz(3.8588, 4.7960, 4.5925)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4239 #422F38
analogous
#2F4230 #2F4239 #2F4242
triadic
#2F4239 #392F42 #42392F
tetradic
#2F4239 #302F42 #422F38 #42422F
square
#2F4239 #302F42 #422F38 #42422F
split-complementary
#2F4239 #422F42 #42302F
monochromatic
#0D120F #161E1A #2F4239 #486658 #628977

Accessibility & contrast

On white

10.72
#2F4239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F4239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4239
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4239#FFFFFF#000000##FFFFFF
##2F42391.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F39
Deuteranopia (green-blind)
#3E3D3A
Tritanopia (blue-blind)
#2B423F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f4239;
/* rgb */ color: rgb(47, 66, 57);
/* oklch */ color: oklch(36.0% 0.029 164.2);
Tailwind
colors: {
  custom: {
    50: '#68766f',
    500: '#2f4239',
    950: '#000000',
  },
}
SCSS
$custom: #2f4239;
$custom-light: #68766f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4239",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 151.579,
    "s": 16.814,
    "l": 22.157
  },
  "oklch": {
    "l": 0.35974,
    "c": 0.02882,
    "h": 164.2
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#2F4239
secondary
#725A66
accent
#6E92BA
background
#F6F7F6
surface
#EBEDEC
border
#C6C8C7
text
#060807
muted
#7A7B7A

Preview Lab

Preview with #2F4239

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

Preview Lab → · Contrast checker → · Palette generator →

#2F4239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva