#2D7E8B#2D7E8B

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

Color values

HEX#2D7E8B
RGBrgb(45, 126, 139)
HSLhsl(188, 51%, 36%)
HSVhsv(188, 68%, 55%)
CMYKcmyk(67.6%, 9.4%, 0%, 45.5%)
CIE-LABlab(48.69, -19.89, -14.23)
CIE-LCHlch(48.69, 24.46, 215.58°)
OKLaboklab(54.99% -0.0685 -0.0395)
OKLCHoklch(54.99% 0.079 210)
XYZxyz(13.2013, 17.3422, 27.0727)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E8B #8B3A2D
analogous
#2D8B69 #2D7E8B #2D4F8B
triadic
#2D7E8B #8B2D7E #7E8B2D
tetradic
#2D7E8B #692D8B #8B3A2D #4F8B2D
square
#2D7E8B #692D8B #8B3A2D #4F8B2D
split-complementary
#2D7E8B #8B2D4F #8B692D
monochromatic
#0F2A2F #1E545D #2D7E8B #3CA8B9 #65BFCD

Accessibility & contrast

On white

4.70
#2D7E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2D7E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E8B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E8B#FFFFFF#000000##FFFFFF
##2D7E8B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798C
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d7e8b;
/* rgb */ color: rgb(45, 126, 139);
/* oklch */ color: oklch(55.0% 0.079 210.0);
Tailwind
colors: {
  custom: {
    50: '#72a3ac',
    500: '#2d7e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e8b;
$custom-light: #72a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e8b",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 188.298,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.07906,
    "h": 210
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#2D7E8B
secondary
#B46C60
accent
#614DDB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2D7E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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