#2A7B7C#2A7B7C

#2A7B7C is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.5% C 0.077 H 196.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2A7B7C
RGBrgb(42, 123, 124)
HSLhsl(181, 49%, 33%)
HSVhsv(181, 66%, 49%)
CMYKcmyk(66.1%, 0.8%, 0%, 51.4%)
CIE-LABlab(47.12, -23.53, -7.74)
CIE-LCHlch(47.12, 24.77, 198.21°)
OKLaboklab(53.53% -0.0735 -0.0215)
OKLCHoklch(53.53% 0.077 196.3)
XYZxyz(11.6743, 16.1121, 21.5596)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B7C #7C2B2A
analogous
#2A7C54 #2A7B7C #2A527C
triadic
#2A7B7C #7C2A7B #7B7C2A
tetradic
#2A7B7C #542A7C #7C2B2A #527C2A
square
#2A7B7C #542A7C #7C2B2A #527C2A
split-complementary
#2A7B7C #7C2A52 #7C542A
monochromatic
#0B2021 #1B4E4E #2A7B7C #39A8AA #59C6C7

Accessibility & contrast

On white

4.97
#2A7B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2A7B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B7C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B7C#FFFFFF#000000##FFFFFF
##2A7B7C1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757C
Deuteranopia (green-blind)
#666C7D
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7b7c;
/* rgb */ color: rgb(42, 123, 124);
/* oklch */ color: oklch(53.5% 0.077 196.3);
Tailwind
colors: {
  custom: {
    50: '#6fa1a1',
    500: '#2a7b7c',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b7c;
$custom-light: #6fa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b7c",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 124
  },
  "hsl": {
    "h": 180.732,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5353,
    "c": 0.07661,
    "h": 196.3
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#2A7B7C
secondary
#AD5655
accent
#514FD9
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0F
muted
#7B7E7E

Preview Lab

Preview with #2A7B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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