#2897A4#2897A4

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

Color values

HEX#2897A4
RGBrgb(40, 151, 164)
HSLhsl(186, 61%, 40%)
HSVhsv(186, 76%, 64%)
CMYKcmyk(75.6%, 7.9%, 0%, 35.7%)
CIE-LABlab(57.33, -25.59, -15.61)
CIE-LCHlch(57.33, 29.97, 211.40°)
OKLaboklab(62.23% -0.0862 -0.0434)
OKLCHoklch(62.23% 0.097 206.7)
XYZxyz(18.6396, 25.2624, 39.0085)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897A4 #A43528
analogous
#28A473 #2897A4 #2859A4
triadic
#2897A4 #A42897 #97A428
tetradic
#2897A4 #7328A4 #A43528 #59A428
square
#2897A4 #7328A4 #A43528 #59A428
split-complementary
#2897A4 #A42859 #A47328
monochromatic
#103C42 #1C6A73 #2897A4 #3ABFCF #6BCFDB

Accessibility & contrast

On white

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

On black

6.05
#2897A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897A4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897A4#FFFFFF#000000##000000
##2897A41.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A5
Deuteranopia (green-blind)
#7984A4
Tritanopia (blue-blind)
#009E9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2897a4;
/* rgb */ color: rgb(40, 151, 164);
/* oklch */ color: oklch(62.2% 0.097 206.7);
Tailwind
colors: {
  custom: {
    50: '#76b6bf',
    500: '#2897a4',
    950: '#000000',
  },
}
SCSS
$custom: #2897a4;
$custom-light: #76b6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2897a4",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 164
  },
  "hsl": {
    "h": 186.29,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.62227,
    "c": 0.09655,
    "h": 206.7
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#2897A4
secondary
#C17066
accent
#5544E4
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2897A4

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

Preview Lab → · Contrast checker → · Palette generator →

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