#2C7E8A#2C7E8A

#2C7E8A is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.9% C 0.079 H 208.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2C7E8A
RGBrgb(44, 126, 138)
HSLhsl(188, 52%, 36%)
HSVhsv(188, 68%, 54%)
CMYKcmyk(68.1%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.62, -20.38, -13.74)
CIE-LCHlch(48.62, 24.58, 214.00°)
OKLaboklab(54.92% -0.0694 -0.0382)
OKLCHoklch(54.92% 0.079 208.8)
XYZxyz(13.0851, 17.2907, 26.6877)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E8A #8A382C
analogous
#2C8A67 #2C7E8A #2C4F8A
triadic
#2C7E8A #8A2C7E #7E8A2C
tetradic
#2C7E8A #672C8A #8A382C #4F8A2C
square
#2C7E8A #672C8A #8A382C #4F8A2C
split-complementary
#2C7E8A #8A2C4F #8A672C
monochromatic
#0E292D #1D545C #2C7E8A #3BA8B8 #63C0CD

Accessibility & contrast

On white

4.71
#2C7E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2C7E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E8A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E8A#FFFFFF#000000##FFFFFF
##2C7E8A1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7e8a;
/* rgb */ color: rgb(44, 126, 138);
/* oklch */ color: oklch(54.9% 0.079 208.8);
Tailwind
colors: {
  custom: {
    50: '#72a3ac',
    500: '#2c7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e8a;
$custom-light: #72a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e8a",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 187.66,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.07924,
    "h": 208.8
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#2C7E8A
secondary
#B4695E
accent
#5F4DDB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2C7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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