#2A7E8A#2A7E8A

#2A7E8A is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.9% C 0.080 H 208.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A7E8A
RGBrgb(42, 126, 138)
HSLhsl(188, 53%, 35%)
HSVhsv(188, 70%, 54%)
CMYKcmyk(69.6%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.57, -20.70, -13.83)
CIE-LCHlch(48.57, 24.89, 213.75°)
OKLaboklab(54.86% -0.0705 -0.0384)
OKLCHoklch(54.86% 0.08 208.6)
XYZxyz(13.0012, 17.2475, 26.6837)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E8A #8A362A
analogous
#2A8A66 #2A7E8A #2A4E8A
triadic
#2A7E8A #8A2A7E #7E8A2A
tetradic
#2A7E8A #662A8A #8A362A #4E8A2A
square
#2A7E8A #662A8A #8A362A #4E8A2A
split-complementary
#2A7E8A #8A2A4E #8A662A
monochromatic
#0D282C #1C535B #2A7E8A #38A9B9 #60C1CF

Accessibility & contrast

On white

4.72
#2A7E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2A7E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E8A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E8A#FFFFFF#000000##FFFFFF
##2A7E8A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7e8a;
/* rgb */ color: rgb(42, 126, 138);
/* oklch */ color: oklch(54.9% 0.080 208.6);
Tailwind
colors: {
  custom: {
    50: '#71a3ac',
    500: '#2a7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e8a;
$custom-light: #71a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e8a",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 187.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.08029,
    "h": 208.6
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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