#2A7E8B#2A7E8B

#2A7E8B is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.9% C 0.081 H 209.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A7E8B
RGBrgb(42, 126, 139)
HSLhsl(188, 54%, 35%)
HSVhsv(188, 70%, 55%)
CMYKcmyk(69.8%, 9.4%, 0%, 45.5%)
CIE-LABlab(48.61, -20.37, -14.36)
CIE-LCHlch(48.61, 24.93, 215.18°)
OKLaboklab(54.9% -0.0701 -0.0399)
OKLCHoklch(54.9% 0.081 209.7)
XYZxyz(13.0739, 17.2766, 27.0668)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E8B #8B372A
analogous
#2A8B67 #2A7E8B #2A4D8B
triadic
#2A7E8B #8B2A7E #7E8B2A
tetradic
#2A7E8B #672A8B #8B372A #4D8B2A
square
#2A7E8B #672A8B #8B372A #4D8B2A
split-complementary
#2A7E8B #8B2A4D #8B672A
monochromatic
#0E292D #1C535C #2A7E8B #38A9BA #60C0CF

Accessibility & contrast

On white

4.71
#2A7E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2A7E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E8B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E8B#FFFFFF#000000##FFFFFF
##2A7E8B1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7e8b;
/* rgb */ color: rgb(42, 126, 139);
/* oklch */ color: oklch(54.9% 0.081 209.7);
Tailwind
colors: {
  custom: {
    50: '#71a3ac',
    500: '#2a7e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e8b;
$custom-light: #71a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e8b",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 188.041,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.08064,
    "h": 209.7
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#2A7E8B
secondary
#B5685C
accent
#5E4BDD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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