#2C7D8A#2C7D8A

#2C7D8A is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.7% C 0.079 H 210.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2C7D8A
RGBrgb(44, 125, 138)
HSLhsl(188, 52%, 36%)
HSVhsv(188, 68%, 54%)
CMYKcmyk(68.1%, 9.4%, 0%, 45.9%)
CIE-LABlab(48.31, -19.84, -14.23)
CIE-LCHlch(48.31, 24.42, 215.64°)
OKLaboklab(54.66% -0.0684 -0.0395)
OKLCHoklch(54.66% 0.079 210)
XYZxyz(12.9578, 17.0362, 26.6452)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D8A #8A392C
analogous
#2C8A68 #2C7D8A #2C4E8A
triadic
#2C7D8A #8A2C7D #7D8A2C
tetradic
#2C7D8A #682C8A #8A392C #4E8A2C
square
#2C7D8A #682C8A #8A392C #4E8A2C
split-complementary
#2C7D8A #8A2C4E #8A682C
monochromatic
#0E292D #1D535C #2C7D8A #3BA7B8 #63BFCD

Accessibility & contrast

On white

4.76
#2C7D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2C7D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D8A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D8A#FFFFFF#000000##FFFFFF
##2C7D8A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72788B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c7d8a;
/* rgb */ color: rgb(44, 125, 138);
/* oklch */ color: oklch(54.7% 0.079 210.0);
Tailwind
colors: {
  custom: {
    50: '#72a3ac',
    500: '#2c7d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d8a;
$custom-light: #72a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d8a",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 188.298,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.07896,
    "h": 210
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#2C7D8A
secondary
#B46A5E
accent
#604DDB
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2C7D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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