#2F504B#2F504B

#2F504B is a dark, muted teal. Relative luminance 0.069; OKLCH L 40.4% C 0.040 H 183.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2F504B
RGBrgb(47, 80, 75)
HSLhsl(171, 26%, 25%)
HSVhsv(171, 41%, 31%)
CMYKcmyk(41.3%, 0%, 6.2%, 68.6%)
CIE-LABlab(31.46, -13.43, -0.87)
CIE-LCHlch(31.46, 13.46, 183.70°)
OKLaboklab(40.42% -0.0397 -0.0025)
OKLCHoklch(40.42% 0.04 183.7)
XYZxyz(5.3105, 6.8493, 7.6975)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F504B #502F34
analogous
#2F503B #2F504B #2F4550
triadic
#2F504B #4B2F50 #504B2F
tetradic
#2F504B #3B2F50 #502F34 #45502F
square
#2F504B #3B2F50 #502F34 #45502F
split-complementary
#2F504B #502F45 #503B2F
monochromatic
#0B1312 #182927 #2F504B #46776F #5C9D93

Accessibility & contrast

On white

8.86
#2F504B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F504B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F504B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F504B#FFFFFF#000000##FFFFFF
##2F504B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4B
Deuteranopia (green-blind)
#47484B
Tritanopia (blue-blind)
#23514E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f504b;
/* rgb */ color: rgb(47, 80, 75);
/* oklch */ color: oklch(40.4% 0.040 183.7);
Tailwind
colors: {
  custom: {
    50: '#69817d',
    500: '#2f504b',
    950: '#000000',
  },
}
SCSS
$custom: #2f504b;
$custom-light: #69817d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f504b",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 75
  },
  "hsl": {
    "h": 170.909,
    "s": 25.984,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.0398,
    "h": 183.7
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#2F504B
secondary
#815A60
accent
#6574C2
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2F504B

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

Preview Lab → · Contrast checker → · Palette generator →

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