#2897A2#2897A2

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

Color values

HEX#2897A2
RGBrgb(40, 151, 162)
HSLhsl(185, 60%, 40%)
HSVhsv(185, 75%, 64%)
CMYKcmyk(75.3%, 6.8%, 0%, 36.5%)
CIE-LABlab(57.26, -26.22, -14.58)
CIE-LCHlch(57.26, 30.00, 209.08°)
OKLaboklab(62.15% -0.0871 -0.0405)
OKLCHoklch(62.15% 0.096 204.9)
XYZxyz(18.4604, 25.1907, 38.0648)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897A2 #A23328
analogous
#28A270 #2897A2 #285AA2
triadic
#2897A2 #A22897 #97A228
tetradic
#2897A2 #7028A2 #A23328 #5AA228
square
#2897A2 #7028A2 #A23328 #5AA228
split-complementary
#2897A2 #A2285A #A27028
monochromatic
#103C40 #1C6971 #2897A2 #39C1CE #6AD0DA

Accessibility & contrast

On white

3.48
#2897A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#2897A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897A2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897A2#FFFFFF#000000##000000
##2897A21.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A3
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#009E9A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2897a2;
/* rgb */ color: rgb(40, 151, 162);
/* oklch */ color: oklch(62.1% 0.096 204.9);
Tailwind
colors: {
  custom: {
    50: '#76b6bd',
    500: '#2897a2',
    950: '#000000',
  },
}
SCSS
$custom: #2897a2;
$custom-light: #76b6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2897a2",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 162
  },
  "hsl": {
    "h": 185.41,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62148,
    "c": 0.09607,
    "h": 204.9
  },
  "luminance": 0.25193
}

Semantic roles & 50–950 ramp

primary
#2897A2
secondary
#C16D65
accent
#5344E4
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2897A2

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

Preview Lab → · Contrast checker → · Palette generator →

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