#2F7F8A#2F7F8A

#2F7F8A is a mid, moderate teal. Relative luminance 0.176; OKLCH L 55.3% C 0.078 H 207.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7F8A
RGBrgb(47, 127, 138)
HSLhsl(187, 49%, 36%)
HSVhsv(187, 66%, 54%)
CMYKcmyk(65.9%, 8%, 0%, 45.9%)
CIE-LABlab(49.03, -20.40, -13.12)
CIE-LCHlch(49.03, 24.26, 212.75°)
OKLaboklab(55.27% -0.0689 -0.0364)
OKLCHoklch(55.27% 0.078 207.9)
XYZxyz(13.3472, 17.6166, 26.7368)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F8A #8A3A2F
analogous
#2F8A68 #2F7F8A #2F528A
triadic
#2F7F8A #8A2F7F #7F8A2F
tetradic
#2F7F8A #682F8A #8A3A2F #528A2F
square
#2F7F8A #682F8A #8A3A2F #528A2F
split-complementary
#2F7F8A #8A2F52 #8A682F
monochromatic
#102B2F #1F555C #2F7F8A #3FA9B8 #68BFCC

Accessibility & contrast

On white

4.64
#2F7F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2F7F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F8A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F8A#FFFFFF#000000##FFFFFF
##2F7F8A1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7f8a;
/* rgb */ color: rgb(47, 127, 138);
/* oklch */ color: oklch(55.3% 0.078 207.9);
Tailwind
colors: {
  custom: {
    50: '#73a4ac',
    500: '#2f7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f8a;
$custom-light: #73a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f8a",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 187.253,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.07792,
    "h": 207.9
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#2F7F8A
secondary
#B36C62
accent
#604FD9
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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