#2A7F8D#2A7F8D

#2A7F8D is a mid, moderate teal. Relative luminance 0.176; OKLCH L 55.2% C 0.082 H 210.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7F8D
RGBrgb(42, 127, 141)
HSLhsl(188, 54%, 36%)
HSVhsv(188, 70%, 55%)
CMYKcmyk(70.2%, 9.9%, 0%, 44.7%)
CIE-LABlab(49.00, -20.26, -14.94)
CIE-LCHlch(49.00, 25.17, 216.42°)
OKLaboklab(55.24% -0.0703 -0.0415)
OKLCHoklch(55.24% 0.082 210.6)
XYZxyz(13.3499, 17.5926, 27.8863)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F8D #8D382A
analogous
#2A8D69 #2A7F8D #2A4D8D
triadic
#2A7F8D #8D2A7F #7F8D2A
tetradic
#2A7F8D #692A8D #8D382A #4D8D2A
square
#2A7F8D #692A8D #8D382A #4D8D2A
split-complementary
#2A7F8D #8D2A4D #8D692A
monochromatic
#0E2A2F #1C555E #2A7F8D #38A9BC #61C0D0

Accessibility & contrast

On white

4.65
#2A7F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2A7F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F8D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F8D#FFFFFF#000000##FFFFFF
##2A7F8D1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8E
Deuteranopia (green-blind)
#65708D
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7f8d;
/* rgb */ color: rgb(42, 127, 141);
/* oklch */ color: oklch(55.2% 0.082 210.6);
Tailwind
colors: {
  custom: {
    50: '#72a4ae',
    500: '#2a7f8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f8d;
$custom-light: #72a4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f8d",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 141
  },
  "hsl": {
    "h": 188.485,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.08164,
    "h": 210.6
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#2A7F8D
secondary
#B6695D
accent
#5F4ADD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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