#2A7D88#2A7D88

#2A7D88 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.5% C 0.079 H 207.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2A7D88
RGBrgb(42, 125, 136)
HSLhsl(187, 53%, 35%)
HSVhsv(187, 69%, 53%)
CMYKcmyk(69.1%, 8.1%, 0%, 46.7%)
CIE-LABlab(48.18, -20.81, -13.24)
CIE-LCHlch(48.18, 24.67, 212.48°)
OKLaboklab(54.52% -0.0703 -0.0368)
OKLCHoklch(54.52% 0.079 207.6)
XYZxyz(12.7305, 16.9356, 25.8858)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D88 #88352A
analogous
#2A8864 #2A7D88 #2A4E88
triadic
#2A7D88 #882A7D #7D882A
tetradic
#2A7D88 #642A88 #88352A #4E882A
square
#2A7D88 #642A88 #88352A #4E882A
split-complementary
#2A7D88 #882A4E #88642A
monochromatic
#0D272A #1C5259 #2A7D88 #38A8B7 #5FC1CE

Accessibility & contrast

On white

4.79
#2A7D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2A7D88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D88
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D88#FFFFFF#000000##FFFFFF
##2A7D881.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727889
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#008380
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7d88;
/* rgb */ color: rgb(42, 125, 136);
/* oklch */ color: oklch(54.5% 0.079 207.6);
Tailwind
colors: {
  custom: {
    50: '#71a3aa',
    500: '#2a7d88',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d88;
$custom-light: #71a3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d88",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 136
  },
  "hsl": {
    "h": 187.021,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54522,
    "c": 0.07934,
    "h": 207.6
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#2A7D88
secondary
#B3655B
accent
#5D4CDC
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #2A7D88

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

Preview Lab → · Contrast checker → · Palette generator →

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