#2F5F4B#2F5F4B

#2F5F4B is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.5% C 0.063 H 164.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2F5F4B
RGBrgb(47, 95, 75)
HSLhsl(155, 34%, 28%)
HSVhsv(155, 51%, 37%)
CMYKcmyk(50.5%, 0%, 21.1%, 62.7%)
CIE-LABlab(36.55, -21.68, 6.47)
CIE-LCHlch(36.55, 22.62, 163.39°)
OKLaboklab(44.53% -0.0604 0.0166)
OKLCHoklch(44.53% 0.063 164.6)
XYZxyz(6.5339, 9.2962, 8.1053)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F4B #5F2F43
analogous
#2F5F33 #2F5F4B #2F5B5F
triadic
#2F5F4B #4B2F5F #5F4B2F
tetradic
#2F5F4B #332F5F #5F2F43 #5B5F2F
square
#2F5F4B #332F5F #5F2F43 #5B5F2F
split-complementary
#2F5F4B #5F2F5B #5F332F
monochromatic
#0A1410 #1B362B #2F5F4B #43886B #5BAE8B

Accessibility & contrast

On white

7.34
#2F5F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2F5F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5F4B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F4B#FFFFFF#000000##FFFFFF
##2F5F4B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D594A
Deuteranopia (green-blind)
#56544C
Tritanopia (blue-blind)
#205F59
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5f4b;
/* rgb */ color: rgb(47, 95, 75);
/* oklch */ color: oklch(44.5% 0.063 164.6);
Tailwind
colors: {
  custom: {
    50: '#6b8c7d',
    500: '#2f5f4b',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f4b;
$custom-light: #6b8c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f4b",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 75
  },
  "hsl": {
    "h": 155,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.44526,
    "c": 0.06265,
    "h": 164.6
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

primary
#2F5F4B
secondary
#915970
accent
#5E8BCA
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C09
muted
#7A7D7B

Preview Lab

Preview with #2F5F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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