#2897A3#2897A3

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

Color values

HEX#2897A3
RGBrgb(40, 151, 163)
HSLhsl(186, 61%, 40%)
HSVhsv(186, 75%, 64%)
CMYKcmyk(75.5%, 7.4%, 0%, 36.1%)
CIE-LABlab(57.30, -25.90, -15.10)
CIE-LCHlch(57.30, 29.98, 210.24°)
OKLaboklab(62.19% -0.0867 -0.042)
OKLCHoklch(62.19% 0.096 205.8)
XYZxyz(18.5496, 25.2264, 38.5348)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897A3 #A33428
analogous
#28A372 #2897A3 #2859A3
triadic
#2897A3 #A32897 #97A328
tetradic
#2897A3 #7228A3 #A33428 #59A328
square
#2897A3 #7228A3 #A33428 #59A328
split-complementary
#2897A3 #A32859 #A37228
monochromatic
#103C41 #1C6972 #2897A3 #3AC0CF #6BD0DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2897A3#FFFFFF#000000##000000
##2897A31.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)
#8A91A4
Deuteranopia (green-blind)
#7984A3
Tritanopia (blue-blind)
#009E9A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2897a3;
/* rgb */ color: rgb(40, 151, 163);
/* oklch */ color: oklch(62.2% 0.096 205.8);
Tailwind
colors: {
  custom: {
    50: '#76b6be',
    500: '#2897a3',
    950: '#000000',
  },
}
SCSS
$custom: #2897a3;
$custom-light: #76b6be;
$custom-dark: #000000;
JSON
{
  "hex": "#2897a3",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 163
  },
  "hsl": {
    "h": 185.854,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62188,
    "c": 0.09631,
    "h": 205.8
  },
  "luminance": 0.25229
}

Semantic roles & 50–950 ramp

primary
#2897A3
secondary
#C16F66
accent
#5444E4
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2897A3

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

Preview Lab → · Contrast checker → · Palette generator →

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