#2D7E8A#2D7E8A

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

Color values

HEX#2D7E8A
RGBrgb(45, 126, 138)
HSLhsl(188, 51%, 36%)
HSVhsv(188, 67%, 54%)
CMYKcmyk(67.4%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.65, -20.21, -13.70)
CIE-LCHlch(48.65, 24.42, 214.13°)
OKLaboklab(54.95% -0.0689 -0.038)
OKLCHoklch(54.95% 0.079 208.9)
XYZxyz(13.1285, 17.3131, 26.6897)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E8A #8A392D
analogous
#2D8A67 #2D7E8A #2D4F8A
triadic
#2D7E8A #8A2D7E #7E8A2D
tetradic
#2D7E8A #672D8A #8A392D #4F8A2D
square
#2D7E8A #672D8A #8A392D #4F8A2D
split-complementary
#2D7E8A #8A2D4F #8A672D
monochromatic
#0F2A2E #1E545C #2D7E8A #3CA8B8 #65BFCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7E8A#FFFFFF#000000##FFFFFF
##2D7E8A1.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)
#747474

Design tokens & code

CSS
--color: #2d7e8a;
/* rgb */ color: rgb(45, 126, 138);
/* oklch */ color: oklch(55.0% 0.079 208.9);
Tailwind
colors: {
  custom: {
    50: '#72a3ac',
    500: '#2d7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e8a;
$custom-light: #72a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e8a",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 187.742,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.0787,
    "h": 208.9
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#2D7E8A
secondary
#B36A60
accent
#604DDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2D7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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