#2897AD#2897AD

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

Color values

HEX#2897AD
RGBrgb(40, 151, 173)
HSLhsl(190, 62%, 42%)
HSVhsv(190, 77%, 68%)
CMYKcmyk(76.9%, 12.7%, 0%, 32.2%)
CIE-LABlab(57.65, -22.67, -20.24)
CIE-LCHlch(57.65, 30.40, 221.76°)
OKLaboklab(62.6% -0.0824 -0.0565)
OKLCHoklch(62.6% 0.1 214.4)
XYZxyz(19.4813, 25.5991, 43.4414)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897AD #AD3E28
analogous
#28AD81 #2897AD #2855AD
triadic
#2897AD #AD2897 #97AD28
tetradic
#2897AD #8128AD #AD3E28 #55AD28
square
#2897AD #8128AD #AD3E28 #55AD28
split-complementary
#2897AD #AD2855 #AD8128
monochromatic
#11404A #1D6C7B #2897AD #3FBAD3 #71CCDE

Accessibility & contrast

On white

3.43
#2897AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#2897AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897AD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897AD#FFFFFF#000000##000000
##2897AD1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8792AE
Deuteranopia (green-blind)
#7585AD
Tritanopia (blue-blind)
#009F9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2897ad;
/* rgb */ color: rgb(40, 151, 173);
/* oklch */ color: oklch(62.6% 0.100 214.4);
Tailwind
colors: {
  custom: {
    50: '#78b6c5',
    500: '#2897ad',
    950: '#000000',
  },
}
SCSS
$custom: #2897ad;
$custom-light: #78b6c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2897ad",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 173
  },
  "hsl": {
    "h": 189.925,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62597,
    "c": 0.09993,
    "h": 214.4
  },
  "luminance": 0.25601
}

Semantic roles & 50–950 ramp

primary
#2897AD
secondary
#C57A6C
accent
#5D42E6
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2897AD

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

Preview Lab → · Contrast checker → · Palette generator →

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