#2897A5#2897A5

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

Color values

HEX#2897A5
RGBrgb(40, 151, 165)
HSLhsl(187, 61%, 40%)
HSVhsv(187, 76%, 65%)
CMYKcmyk(75.8%, 8.5%, 0%, 35.3%)
CIE-LABlab(57.37, -25.27, -16.13)
CIE-LCHlch(57.37, 29.98, 212.56°)
OKLaboklab(62.27% -0.0858 -0.0449)
OKLCHoklch(62.27% 0.097 207.6)
XYZxyz(18.7302, 25.2987, 39.4860)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897A5 #A53628
analogous
#28A574 #2897A5 #2858A5
triadic
#2897A5 #A52897 #97A528
tetradic
#2897A5 #7428A5 #A53628 #58A528
square
#2897A5 #7428A5 #A53628 #58A528
split-complementary
#2897A5 #A52858 #A57428
monochromatic
#103D42 #1C6A74 #2897A5 #3BBFCF #6CCFDB

Accessibility & contrast

On white

3.47
#2897A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#2897A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897A5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897A5#FFFFFF#000000##000000
##2897A51.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A6
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#009E9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2897a5;
/* rgb */ color: rgb(40, 151, 165);
/* oklch */ color: oklch(62.3% 0.097 207.6);
Tailwind
colors: {
  custom: {
    50: '#77b6bf',
    500: '#2897a5',
    950: '#000000',
  },
}
SCSS
$custom: #2897a5;
$custom-light: #77b6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2897a5",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 165
  },
  "hsl": {
    "h": 186.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62267,
    "c": 0.09683,
    "h": 207.6
  },
  "luminance": 0.25301
}

Semantic roles & 50–950 ramp

primary
#2897A5
secondary
#C27167
accent
#5644E4
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2897A5

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

Preview Lab → · Contrast checker → · Palette generator →

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