#2897A8#2897A8

#2897A8 is a light, moderate teal. Relative luminance 0.254; OKLCH L 62.4% C 0.098 H 210.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2897A8
RGBrgb(40, 151, 168)
HSLhsl(188, 62%, 41%)
HSVhsv(188, 76%, 66%)
CMYKcmyk(76.2%, 10.1%, 0%, 34.1%)
CIE-LABlab(57.47, -24.30, -17.68)
CIE-LCHlch(57.47, 30.05, 216.03°)
OKLaboklab(62.39% -0.0845 -0.0492)
OKLCHoklch(62.39% 0.098 210.2)
XYZxyz(19.0065, 25.4092, 40.9409)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897A8 #A83928
analogous
#28A879 #2897A8 #2857A8
triadic
#2897A8 #A82897 #97A828
tetradic
#2897A8 #7928A8 #A83928 #57A828
square
#2897A8 #7928A8 #A83928 #57A828
split-complementary
#2897A8 #A82857 #A87928
monochromatic
#103E45 #1C6B77 #2897A8 #3DBDD1 #6ECEDC

Accessibility & contrast

On white

3.45
#2897A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#2897A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897A8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897A8#FFFFFF#000000##000000
##2897A81.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2897a8;
/* rgb */ color: rgb(40, 151, 168);
/* oklch */ color: oklch(62.4% 0.098 210.2);
Tailwind
colors: {
  custom: {
    50: '#77b6c1',
    500: '#2897a8',
    950: '#000000',
  },
}
SCSS
$custom: #2897a8;
$custom-light: #77b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2897a8",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 168
  },
  "hsl": {
    "h": 187.969,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.09782,
    "h": 210.2
  },
  "luminance": 0.25411
}

Semantic roles & 50–950 ramp

primary
#2897A8
secondary
#C37569
accent
#5943E5
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2897A8

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

Preview Lab → · Contrast checker → · Palette generator →

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