#2897AC#2897AC

#2897AC is a light, moderate teal. Relative luminance 0.256; OKLCH L 62.6% C 0.099 H 213.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2897AC
RGBrgb(40, 151, 172)
HSLhsl(190, 62%, 42%)
HSVhsv(190, 77%, 67%)
CMYKcmyk(76.7%, 12.2%, 0%, 32.5%)
CIE-LABlab(57.62, -23.00, -19.73)
CIE-LCHlch(57.62, 30.31, 220.62°)
OKLaboklab(62.56% -0.0829 -0.055)
OKLCHoklch(62.56% 0.099 213.6)
XYZxyz(19.3849, 25.5605, 42.9337)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897AC #AC3D28
analogous
#28AC7F #2897AC #2855AC
triadic
#2897AC #AC2897 #97AC28
tetradic
#2897AC #7F28AC #AC3D28 #55AC28
square
#2897AC #7F28AC #AC3D28 #55AC28
split-complementary
#2897AC #AC2855 #AC7F28
monochromatic
#114049 #1C6B7A #2897AC #3FBBD2 #71CCDE

Accessibility & contrast

On white

3.44
#2897AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#2897AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897AC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897AC#FFFFFF#000000##000000
##2897AC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AD
Deuteranopia (green-blind)
#7685AC
Tritanopia (blue-blind)
#009F9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2897ac;
/* rgb */ color: rgb(40, 151, 172);
/* oklch */ color: oklch(62.6% 0.099 213.6);
Tailwind
colors: {
  custom: {
    50: '#78b6c4',
    500: '#2897ac',
    950: '#000000',
  },
}
SCSS
$custom: #2897ac;
$custom-light: #78b6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2897ac",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 172
  },
  "hsl": {
    "h": 189.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.09947,
    "h": 213.6
  },
  "luminance": 0.25563
}

Semantic roles & 50–950 ramp

primary
#2897AC
secondary
#C5796B
accent
#5C42E5
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2897AC

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

Preview Lab → · Contrast checker → · Palette generator →

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