#2F504C#2F504C

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

Color values

HEX#2F504C
RGBrgb(47, 80, 76)
HSLhsl(173, 26%, 25%)
HSVhsv(173, 41%, 31%)
CMYKcmyk(41.3%, 0%, 5%, 68.6%)
CIE-LABlab(31.49, -13.15, -1.46)
CIE-LCHlch(31.49, 13.23, 186.33°)
OKLaboklab(40.45% -0.0392 -0.0041)
OKLCHoklch(40.45% 0.039 186)
XYZxyz(5.3450, 6.8631, 7.8791)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F504C #502F33
analogous
#2F503B #2F504C #2F4450
triadic
#2F504C #4C2F50 #504C2F
tetradic
#2F504C #3B2F50 #502F33 #44502F
square
#2F504C #3B2F50 #502F33 #44502F
split-complementary
#2F504C #502F44 #503B2F
monochromatic
#0B1312 #182927 #2F504C #467771 #5C9D95

Accessibility & contrast

On white

8.85
#2F504C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F504C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F504C#FFFFFF#000000##FFFFFF
##2F504C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4C
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#23514F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f504c;
/* rgb */ color: rgb(47, 80, 76);
/* oklch */ color: oklch(40.5% 0.039 186.0);
Tailwind
colors: {
  custom: {
    50: '#69817e',
    500: '#2f504c',
    950: '#000000',
  },
}
SCSS
$custom: #2f504c;
$custom-light: #69817e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f504c",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 76
  },
  "hsl": {
    "h": 172.727,
    "s": 25.984,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.03944,
    "h": 186
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#2F504C
secondary
#815A5E
accent
#6571C2
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2F504C

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

Preview Lab → · Contrast checker → · Palette generator →

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