#2D7F8A#2D7F8A

#2D7F8A is a mid, moderate teal. Relative luminance 0.176; OKLCH L 55.2% C 0.079 H 207.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2D7F8A
RGBrgb(45, 127, 138)
HSLhsl(187, 51%, 36%)
HSVhsv(187, 67%, 54%)
CMYKcmyk(67.4%, 8%, 0%, 45.9%)
CIE-LABlab(48.97, -20.74, -13.22)
CIE-LCHlch(48.97, 24.60, 212.50°)
OKLaboklab(55.21% -0.07 -0.0367)
OKLCHoklch(55.21% 0.079 207.6)
XYZxyz(13.2571, 17.5702, 26.7325)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F8A #8A382D
analogous
#2D8A66 #2D7F8A #2D508A
triadic
#2D7F8A #8A2D7F #7F8A2D
tetradic
#2D7F8A #662D8A #8A382D #508A2D
square
#2D7F8A #662D8A #8A382D #508A2D
split-complementary
#2D7F8A #8A2D50 #8A662D
monochromatic
#0F2A2E #1E555C #2D7F8A #3CA9B8 #65C0CD

Accessibility & contrast

On white

4.65
#2D7F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2D7F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F8A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F8A#FFFFFF#000000##FFFFFF
##2D7F8A1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.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: #2d7f8a;
/* rgb */ color: rgb(45, 127, 138);
/* oklch */ color: oklch(55.2% 0.079 207.6);
Tailwind
colors: {
  custom: {
    50: '#72a4ac',
    500: '#2d7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f8a;
$custom-light: #72a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f8a",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 187.097,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.07903,
    "h": 207.6
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#2D7F8A
secondary
#B36960
accent
#5E4DDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2D7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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