#2A7E8D#2A7E8D

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

Color values

HEX#2A7E8D
RGBrgb(42, 126, 141)
HSLhsl(189, 54%, 36%)
HSVhsv(189, 70%, 55%)
CMYKcmyk(70.2%, 10.6%, 0%, 44.7%)
CIE-LABlab(48.68, -19.72, -15.43)
CIE-LCHlch(48.68, 25.04, 218.03°)
OKLaboklab(54.99% -0.0692 -0.0429)
OKLCHoklch(54.99% 0.081 211.8)
XYZxyz(13.2214, 17.3355, 27.8434)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E8D #8D392A
analogous
#2A8D6A #2A7E8D #2A4C8D
triadic
#2A7E8D #8D2A7E #7E8D2A
tetradic
#2A7E8D #6A2A8D #8D392A #4C8D2A
square
#2A7E8D #6A2A8D #8D392A #4C8D2A
split-complementary
#2A7E8D #8D2A4C #8D6A2A
monochromatic
#0E2A2F #1C545E #2A7E8D #38A8BC #61BFD0

Accessibility & contrast

On white

4.70
#2A7E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A7E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E8D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E8D#FFFFFF#000000##FFFFFF
##2A7E8D1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A8E
Deuteranopia (green-blind)
#646F8D
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7e8d;
/* rgb */ color: rgb(42, 126, 141);
/* oklch */ color: oklch(55.0% 0.081 211.8);
Tailwind
colors: {
  custom: {
    50: '#72a3ae',
    500: '#2a7e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e8d;
$custom-light: #72a3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e8d",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 189.091,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54986,
    "c": 0.08143,
    "h": 211.8
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#2A7E8D
secondary
#B66A5D
accent
#614ADD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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