#2A7C8A#2A7C8A

#2A7C8A is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.3% C 0.080 H 211.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2A7C8A
RGBrgb(42, 124, 138)
HSLhsl(189, 53%, 35%)
HSVhsv(189, 70%, 54%)
CMYKcmyk(69.6%, 10.1%, 0%, 45.9%)
CIE-LABlab(47.93, -19.63, -14.80)
CIE-LCHlch(47.93, 24.58, 217.01°)
OKLaboklab(54.35% -0.0683 -0.0411)
OKLCHoklch(54.35% 0.08 211)
XYZxyz(12.7480, 16.7411, 26.5993)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C8A #8A382A
analogous
#2A8A68 #2A7C8A #2A4C8A
triadic
#2A7C8A #8A2A7C #7C8A2A
tetradic
#2A7C8A #682A8A #8A382A #4C8A2A
square
#2A7C8A #682A8A #8A382A #4C8A2A
split-complementary
#2A7C8A #8A2A4C #8A682A
monochromatic
#0D282C #1C525B #2A7C8A #38A6B9 #60BECF

Accessibility & contrast

On white

4.83
#2A7C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7C8A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C8A#FFFFFF#000000##FFFFFF
##2A7C8A1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7c8a;
/* rgb */ color: rgb(42, 124, 138);
/* oklch */ color: oklch(54.3% 0.080 211.0);
Tailwind
colors: {
  custom: {
    50: '#71a2ac',
    500: '#2a7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c8a;
$custom-light: #71a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c8a",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 188.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.07976,
    "h": 211
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#2A7C8A
secondary
#B4685B
accent
#604BDD
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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