#2D7F87#2D7F87

#2D7F87 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.1% C 0.078 H 204.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2D7F87
RGBrgb(45, 127, 135)
HSLhsl(185, 50%, 35%)
HSVhsv(185, 67%, 53%)
CMYKcmyk(66.7%, 5.9%, 0%, 47.1%)
CIE-LABlab(48.86, -21.69, -11.61)
CIE-LCHlch(48.86, 24.60, 208.16°)
OKLaboklab(55.09% -0.0713 -0.0322)
OKLCHoklch(55.09% 0.078 204.3)
XYZxyz(13.0429, 17.4845, 25.6044)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F87 #87352D
analogous
#2D8762 #2D7F87 #2D5287
triadic
#2D7F87 #872D7F #7F872D
tetradic
#2D7F87 #622D87 #87352D #52872D
square
#2D7F87 #622D87 #87352D #52872D
split-complementary
#2D7F87 #872D52 #87622D
monochromatic
#0E292B #1E5459 #2D7F87 #3CAAB5 #63C2CB

Accessibility & contrast

On white

4.67
#2D7F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2D7F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F87
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F87#FFFFFF#000000##FFFFFF
##2D7F871.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757A88
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#008481
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d7f87;
/* rgb */ color: rgb(45, 127, 135);
/* oklch */ color: oklch(55.1% 0.078 204.3);
Tailwind
colors: {
  custom: {
    50: '#72a4aa',
    500: '#2d7f87',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f87;
$custom-light: #72a4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f87",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 185.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.07827,
    "h": 204.3
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#2D7F87
secondary
#B2665E
accent
#5B4EDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2D7F87

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

Preview Lab → · Contrast checker → · Palette generator →

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