#2F5B4E#2F5B4E

#2F5B4E is a dark, muted teal. Relative luminance 0.086; OKLCH L 43.5% C 0.054 H 172.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2F5B4E
RGBrgb(47, 91, 78)
HSLhsl(162, 32%, 27%)
HSVhsv(162, 48%, 36%)
CMYKcmyk(48.4%, 0%, 14.3%, 64.3%)
CIE-LABlab(35.27, -18.79, 2.79)
CIE-LCHlch(35.27, 18.99, 171.56°)
OKLaboklab(43.52% -0.0535 0.0071)
OKLCHoklch(43.52% 0.054 172.5)
XYZxyz(6.2880, 8.6361, 8.5418)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B4E #5B2F3C
analogous
#2F5B38 #2F5B4E #2F525B
triadic
#2F5B4E #4E2F5B #5B4E2F
tetradic
#2F5B4E #382F5B #5B2F3C #525B2F
square
#2F5B4E #382F5B #5B2F3C #525B2F
split-complementary
#2F5B4E #5B2F52 #5B382F
monochromatic
#0A1411 #1A332B #2F5B4E #448371 #5AAA92

Accessibility & contrast

On white

7.70
#2F5B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F5B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B4E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B4E#FFFFFF#000000##FFFFFF
##2F5B4E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59564D
Deuteranopia (green-blind)
#51514F
Tritanopia (blue-blind)
#1F5C57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5b4e;
/* rgb */ color: rgb(47, 91, 78);
/* oklch */ color: oklch(43.5% 0.054 172.5);
Tailwind
colors: {
  custom: {
    50: '#6b897f',
    500: '#2f5b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b4e;
$custom-light: #6b897f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b4e",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 78
  },
  "hsl": {
    "h": 162.273,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.05398,
    "h": 172.5
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#2F5B4E
secondary
#8D5968
accent
#607FC8
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #2F5B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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