#2F504E#2F504E

#2F504E is a dark, muted teal. Relative luminance 0.069; OKLCH L 40.5% C 0.039 H 190.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2F504E
RGBrgb(47, 80, 78)
HSLhsl(176, 26%, 25%)
HSVhsv(176, 41%, 31%)
CMYKcmyk(41.3%, 0%, 2.5%, 68.6%)
CIE-LABlab(31.56, -12.59, -2.64)
CIE-LCHlch(31.56, 12.87, 191.83°)
OKLaboklab(40.53% -0.0382 -0.0073)
OKLCHoklch(40.53% 0.039 190.8)
XYZxyz(5.4156, 6.8914, 8.2510)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F504E #502F31
analogous
#2F503E #2F504E #2F4150
triadic
#2F504E #4E2F50 #504E2F
tetradic
#2F504E #3E2F50 #502F31 #41502F
square
#2F504E #3E2F50 #502F31 #41502F
split-complementary
#2F504E #502F41 #503E2F
monochromatic
#0B1313 #182928 #2F504E #467774 #5C9D99

Accessibility & contrast

On white

8.83
#2F504E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F504E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F504E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F504E#FFFFFF#000000##FFFFFF
##2F504E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D4E
Deuteranopia (green-blind)
#46484E
Tritanopia (blue-blind)
#22524F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f504e;
/* rgb */ color: rgb(47, 80, 78);
/* oklch */ color: oklch(40.5% 0.039 190.8);
Tailwind
colors: {
  custom: {
    50: '#69817f',
    500: '#2f504e',
    950: '#000000',
  },
}
SCSS
$custom: #2f504e;
$custom-light: #69817f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f504e",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 78
  },
  "hsl": {
    "h": 176.364,
    "s": 25.984,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.03892,
    "h": 190.8
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#2F504E
secondary
#815A5C
accent
#656BC2
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A0A
muted
#7A7C7C

Preview Lab

Preview with #2F504E

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

Preview Lab → · Contrast checker → · Palette generator →

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