#2A7D8B#2A7D8B

#2A7D8B is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.6% C 0.080 H 210.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A7D8B
RGBrgb(42, 125, 139)
HSLhsl(189, 54%, 35%)
HSVhsv(189, 70%, 55%)
CMYKcmyk(69.8%, 10.1%, 0%, 45.5%)
CIE-LABlab(48.29, -19.84, -14.85)
CIE-LCHlch(48.29, 24.78, 216.81°)
OKLaboklab(54.65% -0.069 -0.0413)
OKLCHoklch(54.65% 0.08 210.9)
XYZxyz(12.9467, 17.0221, 27.0244)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D8B #8B382A
analogous
#2A8B68 #2A7D8B #2A4C8B
triadic
#2A7D8B #8B2A7D #7D8B2A
tetradic
#2A7D8B #682A8B #8B382A #4C8B2A
square
#2A7D8B #682A8B #8B382A #4C8B2A
split-complementary
#2A7D8B #8B2A4C #8B682A
monochromatic
#0E282D #1C535C #2A7D8B #38A7BA #60BFCF

Accessibility & contrast

On white

4.77
#2A7D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2A7D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D8B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D8B#FFFFFF#000000##FFFFFF
##2A7D8B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798C
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7d8b;
/* rgb */ color: rgb(42, 125, 139);
/* oklch */ color: oklch(54.6% 0.080 210.9);
Tailwind
colors: {
  custom: {
    50: '#71a3ac',
    500: '#2a7d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d8b;
$custom-light: #71a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d8b",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 139
  },
  "hsl": {
    "h": 188.66,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54646,
    "c": 0.08039,
    "h": 210.9
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#2A7D8B
secondary
#B5695C
accent
#604BDD
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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