#2A7F8B#2A7F8B

#2A7F8B is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.2% C 0.081 H 208.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7F8B
RGBrgb(42, 127, 139)
HSLhsl(187, 54%, 35%)
HSVhsv(187, 70%, 55%)
CMYKcmyk(69.8%, 8.6%, 0%, 45.5%)
CIE-LABlab(48.93, -20.91, -13.88)
CIE-LCHlch(48.93, 25.09, 213.58°)
OKLaboklab(55.16% -0.0712 -0.0385)
OKLCHoklch(55.16% 0.081 208.4)
XYZxyz(13.2024, 17.5336, 27.1096)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F8B #8B362A
analogous
#2A8B66 #2A7F8B #2A4E8B
triadic
#2A7F8B #8B2A7F #7F8B2A
tetradic
#2A7F8B #662A8B #8B362A #4E8B2A
square
#2A7F8B #662A8B #8B362A #4E8B2A
split-complementary
#2A7F8B #8B2A4E #8B662A
monochromatic
#0E292D #1C545C #2A7F8B #38AABA #60C1CF

Accessibility & contrast

On white

4.66
#2A7F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2A7F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F8B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F8B#FFFFFF#000000##FFFFFF
##2A7F8B1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8C
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7f8b;
/* rgb */ color: rgb(42, 127, 139);
/* oklch */ color: oklch(55.2% 0.081 208.4);
Tailwind
colors: {
  custom: {
    50: '#71a4ac',
    500: '#2a7f8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f8b;
$custom-light: #71a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f8b",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 139
  },
  "hsl": {
    "h": 187.423,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.08093,
    "h": 208.4
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#2A7F8B
secondary
#B5675C
accent
#5D4BDD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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