#2F7B8A#2F7B8A

#2F7B8A is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.2% C 0.077 H 213.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2F7B8A
RGBrgb(47, 123, 138)
HSLhsl(190, 49%, 36%)
HSVhsv(190, 66%, 54%)
CMYKcmyk(65.9%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.76, -18.26, -15.05)
CIE-LCHlch(47.76, 23.66, 219.50°)
OKLaboklab(54.25% -0.0644 -0.0418)
OKLCHoklch(54.25% 0.077 213)
XYZxyz(12.8408, 16.6039, 26.5680)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B8A #8A3E2F
analogous
#2F8A6C #2F7B8A #2F4E8A
triadic
#2F7B8A #8A2F7B #7B8A2F
tetradic
#2F7B8A #6C2F8A #8A3E2F #4E8A2F
square
#2F7B8A #6C2F8A #8A3E2F #4E8A2F
split-complementary
#2F7B8A #8A2F4E #8A6C2F
monochromatic
#102A2F #1F525C #2F7B8A #3FA4B8 #68BBCC

Accessibility & contrast

On white

4.86
#2F7B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2F7B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B8A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B8A#FFFFFF#000000##FFFFFF
##2F7B8A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7b8a;
/* rgb */ color: rgb(47, 123, 138);
/* oklch */ color: oklch(54.2% 0.077 213.0);
Tailwind
colors: {
  custom: {
    50: '#73a1ac',
    500: '#2f7b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b8a;
$custom-light: #73a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b8a",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 189.89,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.07682,
    "h": 213
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

primary
#2F7B8A
secondary
#B36F62
accent
#664FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2F7B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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