#2F4841#2F4841

#2F4841 is a dark, muted teal. Relative luminance 0.056; OKLCH L 37.9% C 0.033 H 175.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2F4841
RGBrgb(47, 72, 65)
HSLhsl(163, 21%, 23%)
HSVhsv(163, 35%, 28%)
CMYKcmyk(34.7%, 0%, 9.7%, 71.8%)
CIE-LABlab(28.43, -11.40, 1.14)
CIE-LCHlch(28.43, 11.46, 174.29°)
OKLaboklab(37.89% -0.033 0.0029)
OKLCHoklch(37.89% 0.033 175.1)
XYZxyz(4.4435, 5.6205, 5.8507)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4841 #482F36
analogous
#2F4834 #2F4841 #2F4248
triadic
#2F4841 #412F48 #48412F
tetradic
#2F4841 #342F48 #482F36 #42482F
square
#2F4841 #342F48 #482F36 #42482F
split-complementary
#2F4841 #482F42 #48342F
monochromatic
#0C1311 #172320 #2F4841 #476D62 #5F9284

Accessibility & contrast

On white

9.89
#2F4841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F4841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4841
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4841#FFFFFF#000000##FFFFFF
##2F48411.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464541
Deuteranopia (green-blind)
#424241
Tritanopia (blue-blind)
#284946
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4841;
/* rgb */ color: rgb(47, 72, 65);
/* oklch */ color: oklch(37.9% 0.033 175.1);
Tailwind
colors: {
  custom: {
    50: '#687b75',
    500: '#2f4841',
    950: '#000000',
  },
}
SCSS
$custom: #2f4841;
$custom-light: #687b75;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4841",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 65
  },
  "hsl": {
    "h": 163.2,
    "s": 21.008,
    "l": 23.333
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.03308,
    "h": 175.1
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#2F4841
secondary
#795A63
accent
#6A82BE
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #2F4841

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

Preview Lab → · Contrast checker → · Palette generator →

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