#2897A6#2897A6

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

Color values

HEX#2897A6
RGBrgb(40, 151, 166)
HSLhsl(187, 61%, 40%)
HSVhsv(187, 76%, 65%)
CMYKcmyk(75.9%, 9%, 0%, 34.9%)
CIE-LABlab(57.40, -24.95, -16.65)
CIE-LCHlch(57.40, 29.99, 213.72°)
OKLaboklab(62.31% -0.0854 -0.0463)
OKLCHoklch(62.31% 0.097 208.5)
XYZxyz(18.8216, 25.3352, 39.9672)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897A6 #A63728
analogous
#28A676 #2897A6 #2858A6
triadic
#2897A6 #A62897 #97A628
tetradic
#2897A6 #7628A6 #A63728 #58A628
square
#2897A6 #7628A6 #A63728 #58A628
split-complementary
#2897A6 #A62858 #A67628
monochromatic
#103D43 #1C6A75 #2897A6 #3BBED0 #6DCFDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2897A6#FFFFFF#000000##000000
##2897A61.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)
#8991A7
Deuteranopia (green-blind)
#7884A6
Tritanopia (blue-blind)
#009E9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2897a6;
/* rgb */ color: rgb(40, 151, 166);
/* oklch */ color: oklch(62.3% 0.097 208.5);
Tailwind
colors: {
  custom: {
    50: '#77b6c0',
    500: '#2897a6',
    950: '#000000',
  },
}
SCSS
$custom: #2897a6;
$custom-light: #77b6c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2897a6",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 166
  },
  "hsl": {
    "h": 187.143,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62308,
    "c": 0.09714,
    "h": 208.5
  },
  "luminance": 0.25338
}

Semantic roles & 50–950 ramp

primary
#2897A6
secondary
#C27267
accent
#5744E4
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2897A6

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

Preview Lab → · Contrast checker → · Palette generator →

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