#2D7E6B#2D7E6B

#2D7E6B is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.8% C 0.084 H 174.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2D7E6B
RGBrgb(45, 126, 107)
HSLhsl(166, 47%, 34%)
HSVhsv(166, 64%, 49%)
CMYKcmyk(64.3%, 0%, 15.1%, 50.6%)
CIE-LABlab(47.68, -29.36, 3.14)
CIE-LCHlch(47.68, 29.53, 173.90°)
OKLaboklab(53.84% -0.0835 0.0079)
OKLCHoklch(53.84% 0.084 174.6)
XYZxyz(11.1956, 16.5400, 16.5096)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E6B #7E2D40
analogous
#2D7E42 #2D7E6B #2D687E
triadic
#2D7E6B #6B2D7E #7E6B2D
tetradic
#2D7E6B #422D7E #7E2D40 #687E2D
square
#2D7E6B #422D7E #7E2D40 #687E2D
split-complementary
#2D7E6B #7E2D68 #7E422D
monochromatic
#0D241E #1D5145 #2D7E6B #3DAB91 #5FC6AE

Accessibility & contrast

On white

4.87
#2D7E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2D7E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E6B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E6B#FFFFFF#000000##FFFFFF
##2D7E6B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A766A
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#007F78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d7e6b;
/* rgb */ color: rgb(45, 126, 107);
/* oklch */ color: oklch(53.8% 0.084 174.6);
Tailwind
colors: {
  custom: {
    50: '#70a495',
    500: '#2d7e6b',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e6b;
$custom-light: #70a495;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e6b",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 107
  },
  "hsl": {
    "h": 165.926,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.0839,
    "h": 174.6
  },
  "luminance": 0.16541
}

Semantic roles & 50–950 ramp

primary
#2D7E6B
secondary
#AC5A6E
accent
#5170D7
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2D7E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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