#2F4E47#2F4E47

#2F4E47 is a dark, muted teal. Relative luminance 0.065; OKLCH L 39.7% C 0.039 H 178.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2F4E47
RGBrgb(47, 78, 71)
HSLhsl(166, 25%, 25%)
HSVhsv(166, 40%, 31%)
CMYKcmyk(39.7%, 0%, 9%, 69.4%)
CIE-LABlab(30.66, -13.35, 0.51)
CIE-LCHlch(30.66, 13.36, 177.80°)
OKLaboklab(39.73% -0.0388 0.0012)
OKLCHoklch(39.73% 0.039 178.3)
XYZxyz(5.0336, 6.5077, 6.9509)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E47 #4E2F36
analogous
#2F4E38 #2F4E47 #2F464E
triadic
#2F4E47 #472F4E #4E472F
tetradic
#2F4E47 #382F4E #4E2F36 #464E2F
square
#2F4E47 #382F4E #4E2F36 #464E2F
split-complementary
#2F4E47 #4E2F46 #4E382F
monochromatic
#0C1311 #182824 #2F4E47 #46746A #5D9A8D

Accessibility & contrast

On white

9.12
#2F4E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F4E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E47
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E47#FFFFFF#000000##FFFFFF
##2F4E471.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A47
Deuteranopia (green-blind)
#464748
Tritanopia (blue-blind)
#254F4C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4e47;
/* rgb */ color: rgb(47, 78, 71);
/* oklch */ color: oklch(39.7% 0.039 178.3);
Tailwind
colors: {
  custom: {
    50: '#697f7a',
    500: '#2f4e47',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e47;
$custom-light: #697f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e47",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 71
  },
  "hsl": {
    "h": 166.452,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39732,
    "c": 0.03887,
    "h": 178.3
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#2F4E47
secondary
#7F5A62
accent
#677BC1
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2F4E47

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

Preview Lab → · Contrast checker → · Palette generator →

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