#2A8798#2A8798

#2A8798 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.7% C 0.088 H 212.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2A8798
RGBrgb(42, 135, 152)
HSLhsl(189, 57%, 38%)
HSVhsv(189, 72%, 60%)
CMYKcmyk(72.4%, 11.2%, 0%, 40.4%)
CIE-LABlab(51.93, -20.92, -16.90)
CIE-LCHlch(51.93, 26.90, 218.94°)
OKLaboklab(57.74% -0.0741 -0.047)
OKLCHoklch(57.74% 0.088 212.4)
XYZxyz(15.2839, 20.0854, 32.7710)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8798 #983B2A
analogous
#2A9872 #2A8798 #2A5098
triadic
#2A8798 #982A87 #87982A
tetradic
#2A8798 #722A98 #983B2A #50982A
square
#2A8798 #722A98 #983B2A #50982A
split-complementary
#2A8798 #982A50 #98722A
monochromatic
#103238 #1D5C68 #2A8798 #37B2C8 #67C4D5

Accessibility & contrast

On white

4.19
#2A8798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2A8798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8798
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8798#FFFFFF#000000##000000
##2A87981.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8299
Deuteranopia (green-blind)
#6A7798
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8798;
/* rgb */ color: rgb(42, 135, 152);
/* oklch */ color: oklch(57.7% 0.088 212.4);
Tailwind
colors: {
  custom: {
    50: '#74aab6',
    500: '#2a8798',
    950: '#000000',
  },
}
SCSS
$custom: #2a8798;
$custom-light: #74aab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8798",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 189.273,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.08775,
    "h": 212.4
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#2A8798
secondary
#BB7062
accent
#5F48E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2A8798

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

Preview Lab → · Contrast checker → · Palette generator →

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