#2F4E42#2F4E42

#2F4E42 is a dark, muted teal. Relative luminance 0.064; OKLCH L 39.6% C 0.042 H 167.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2F4E42
RGBrgb(47, 78, 66)
HSLhsl(157, 25%, 25%)
HSVhsv(157, 40%, 31%)
CMYKcmyk(39.7%, 0%, 15.4%, 69.4%)
CIE-LABlab(30.51, -14.65, 3.50)
CIE-LCHlch(30.51, 15.06, 166.58°)
OKLaboklab(39.57% -0.0414 0.009)
OKLCHoklch(39.57% 0.042 167.8)
XYZxyz(4.8797, 6.4462, 6.1403)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E42 #4E2F3B
analogous
#2F4E33 #2F4E42 #2F4B4E
triadic
#2F4E42 #422F4E #4E422F
tetradic
#2F4E42 #332F4E #4E2F3B #4B4E2F
square
#2F4E42 #332F4E #4E2F3B #4B4E2F
split-complementary
#2F4E42 #4E2F4B #4E332F
monochromatic
#0C1310 #182822 #2F4E42 #467462 #5D9A83

Accessibility & contrast

On white

9.17
#2F4E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2F4E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E42
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E42#FFFFFF#000000##FFFFFF
##2F4E421.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A41
Deuteranopia (green-blind)
#474643
Tritanopia (blue-blind)
#274E4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4e42;
/* rgb */ color: rgb(47, 78, 66);
/* oklch */ color: oklch(39.6% 0.042 167.8);
Tailwind
colors: {
  custom: {
    50: '#697f76',
    500: '#2f4e42',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e42;
$custom-light: #697f76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e42",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 66
  },
  "hsl": {
    "h": 156.774,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.04238,
    "h": 167.8
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#2F4E42
secondary
#7F5A68
accent
#678AC1
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A08
muted
#7A7C7B

Preview Lab

Preview with #2F4E42

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

Preview Lab → · Contrast checker → · Palette generator →

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