#2D787C#2D787C

#2D787C is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.073 H 200.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2D787C
RGBrgb(45, 120, 124)
HSLhsl(183, 47%, 33%)
HSVhsv(183, 64%, 49%)
CMYKcmyk(63.7%, 3.2%, 0%, 51.4%)
CIE-LABlab(46.24, -21.43, -9.05)
CIE-LCHlch(46.24, 23.27, 202.90°)
OKLaboklab(52.84% -0.0685 -0.0251)
OKLCHoklch(52.84% 0.073 200.1)
XYZxyz(11.4352, 15.4449, 21.4434)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D787C #7C312D
analogous
#2D7C58 #2D787C #2D507C
triadic
#2D787C #7C2D78 #787C2D
tetradic
#2D787C #582D7C #7C312D #507C2D
square
#2D787C #582D7C #7C312D #507C2D
split-complementary
#2D787C #7C2D50 #7C582D
monochromatic
#0C2122 #1D4D4F #2D787C #3DA3A9 #5FC0C5

Accessibility & contrast

On white

5.14
#2D787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2D787C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D787C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D787C#FFFFFF#000000##FFFFFF
##2D787C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737C
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d787c;
/* rgb */ color: rgb(45, 120, 124);
/* oklch */ color: oklch(52.8% 0.073 200.1);
Tailwind
colors: {
  custom: {
    50: '#709fa1',
    500: '#2d787c',
    950: '#000000',
  },
}
SCSS
$custom: #2d787c;
$custom-light: #709fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d787c",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 183.038,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.07291,
    "h": 200.1
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#2D787C
secondary
#AB5E5A
accent
#5851D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2D787C

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

Preview Lab → · Contrast checker → · Palette generator →

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