#2A7C8B#2A7C8B

#2A7C8B is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.4% C 0.080 H 212.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2A7C8B
RGBrgb(42, 124, 139)
HSLhsl(189, 54%, 35%)
HSVhsv(189, 70%, 55%)
CMYKcmyk(69.8%, 10.8%, 0%, 45.5%)
CIE-LABlab(47.97, -19.30, -15.33)
CIE-LCHlch(47.97, 24.65, 218.46°)
OKLaboklab(54.39% -0.0679 -0.0426)
OKLCHoklch(54.39% 0.08 212.1)
XYZxyz(12.8207, 16.7702, 26.9824)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C8B #8B392A
analogous
#2A8B69 #2A7C8B #2A4C8B
triadic
#2A7C8B #8B2A7C #7C8B2A
tetradic
#2A7C8B #692A8B #8B392A #4C8B2A
square
#2A7C8B #692A8B #8B392A #4C8B2A
split-complementary
#2A7C8B #8B2A4C #8B692A
monochromatic
#0E282D #1C525C #2A7C8B #38A6BA #60BECF

Accessibility & contrast

On white

4.82
#2A7C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2A7C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C8B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C8B#FFFFFF#000000##FFFFFF
##2A7C8B1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788C
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7c8b;
/* rgb */ color: rgb(42, 124, 139);
/* oklch */ color: oklch(54.4% 0.080 212.1);
Tailwind
colors: {
  custom: {
    50: '#71a2ac',
    500: '#2a7c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c8b;
$custom-light: #71a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c8b",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 189.278,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54389,
    "c": 0.08017,
    "h": 212.1
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#2A7C8B
secondary
#B56A5C
accent
#614BDD
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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