#2F7E8A#2F7E8A

#2F7E8A is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.0% C 0.078 H 209.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F7E8A
RGBrgb(47, 126, 138)
HSLhsl(188, 49%, 36%)
HSVhsv(188, 66%, 54%)
CMYKcmyk(65.9%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.71, -19.87, -13.61)
CIE-LCHlch(48.71, 24.08, 214.40°)
OKLaboklab(55.01% -0.0678 -0.0377)
OKLCHoklch(55.01% 0.078 209.1)
XYZxyz(13.2187, 17.3596, 26.6939)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E8A #8A3B2F
analogous
#2F8A69 #2F7E8A #2F518A
triadic
#2F7E8A #8A2F7E #7E8A2F
tetradic
#2F7E8A #692F8A #8A3B2F #518A2F
square
#2F7E8A #692F8A #8A3B2F #518A2F
split-complementary
#2F7E8A #8A2F51 #8A692F
monochromatic
#102B2F #1F545C #2F7E8A #3FA8B8 #68BECC

Accessibility & contrast

On white

4.70
#2F7E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F7E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E8A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E8A#FFFFFF#000000##FFFFFF
##2F7E8A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#666F8A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7e8a;
/* rgb */ color: rgb(47, 126, 138);
/* oklch */ color: oklch(55.0% 0.078 209.1);
Tailwind
colors: {
  custom: {
    50: '#73a3ac',
    500: '#2f7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e8a;
$custom-light: #73a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e8a",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 187.912,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.07758,
    "h": 209.1
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#2F7E8A
secondary
#B36D62
accent
#614FD9
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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