#2897B9#2897B9

#2897B9 is a light, moderate cyan. Relative luminance 0.261; OKLCH L 63.1% C 0.107 H 223.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2897B9
RGBrgb(40, 151, 185)
HSLhsl(194, 64%, 44%)
HSVhsv(194, 78%, 73%)
CMYKcmyk(78.4%, 18.4%, 0%, 27.5%)
CIE-LABlab(58.12, -18.67, -26.34)
CIE-LCHlch(58.12, 32.29, 234.67°)
OKLaboklab(63.12% -0.0777 -0.0738)
OKLCHoklch(63.12% 0.107 223.5)
XYZxyz(20.6950, 26.0846, 49.8336)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897B9 #B94A28
analogous
#28B993 #2897B9 #284FB9
triadic
#2897B9 #B92897 #97B928
tetradic
#2897B9 #9328B9 #B94A28 #4FB928
square
#2897B9 #9328B9 #B94A28 #4FB928
split-complementary
#2897B9 #B9284F #B99328
monochromatic
#124554 #1D6E87 #2897B9 #47B5D7 #79CAE2

Accessibility & contrast

On white

3.38
#2897B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#2897B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897B9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897B9#FFFFFF#000000##000000
##2897B91.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8493BB
Deuteranopia (green-blind)
#7086B9
Tritanopia (blue-blind)
#00A1A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2897b9;
/* rgb */ color: rgb(40, 151, 185);
/* oklch */ color: oklch(63.1% 0.107 223.5);
Tailwind
colors: {
  custom: {
    50: '#79b5ce',
    500: '#2897b9',
    950: '#000000',
  },
}
SCSS
$custom: #2897b9;
$custom-light: #79b5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2897b9",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 185
  },
  "hsl": {
    "h": 194.069,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.10718,
    "h": 223.5
  },
  "luminance": 0.26087
}

Semantic roles & 50–950 ramp

primary
#2897B9
secondary
#CA8773
accent
#6840E7
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2897B9

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

Preview Lab → · Contrast checker → · Palette generator →

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