#2897A7#2897A7

#2897A7 is a light, moderate teal. Relative luminance 0.254; OKLCH L 62.3% C 0.097 H 209.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2897A7
RGBrgb(40, 151, 167)
HSLhsl(188, 61%, 41%)
HSVhsv(188, 76%, 65%)
CMYKcmyk(76%, 9.6%, 0%, 34.5%)
CIE-LABlab(57.44, -24.63, -17.16)
CIE-LCHlch(57.44, 30.02, 214.88°)
OKLaboklab(62.35% -0.085 -0.0478)
OKLCHoklch(62.35% 0.097 209.3)
XYZxyz(18.9137, 25.3721, 40.4522)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897A7 #A73828
analogous
#28A777 #2897A7 #2857A7
triadic
#2897A7 #A72897 #97A728
tetradic
#2897A7 #7728A7 #A73828 #57A728
square
#2897A7 #7728A7 #A73828 #57A728
split-complementary
#2897A7 #A72857 #A77728
monochromatic
#103E44 #1C6A76 #2897A7 #3CBED0 #6DCEDC

Accessibility & contrast

On white

3.46
#2897A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#2897A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897A7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897A7#FFFFFF#000000##000000
##2897A71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A8
Deuteranopia (green-blind)
#7784A7
Tritanopia (blue-blind)
#009E9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2897a7;
/* rgb */ color: rgb(40, 151, 167);
/* oklch */ color: oklch(62.3% 0.097 209.3);
Tailwind
colors: {
  custom: {
    50: '#77b6c1',
    500: '#2897a7',
    950: '#000000',
  },
}
SCSS
$custom: #2897a7;
$custom-light: #77b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2897a7",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 167
  },
  "hsl": {
    "h": 187.559,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62348,
    "c": 0.09747,
    "h": 209.3
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#2897A7
secondary
#C37368
accent
#5843E4
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2897A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2897A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva