#2897B7#2897B7

#2897B7 is a light, moderate cyan. Relative luminance 0.260; OKLCH L 63.0% C 0.106 H 222.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2897B7
RGBrgb(40, 151, 183)
HSLhsl(193, 64%, 44%)
HSVhsv(193, 78%, 72%)
CMYKcmyk(78.1%, 17.5%, 0%, 28.2%)
CIE-LABlab(58.04, -19.35, -25.33)
CIE-LCHlch(58.04, 31.87, 232.63°)
OKLaboklab(63.03% -0.0785 -0.0709)
OKLCHoklch(63.03% 0.106 222.1)
XYZxyz(20.4853, 26.0007, 48.7295)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897B7 #B74828
analogous
#28B78F #2897B7 #284FB7
triadic
#2897B7 #B72897 #97B728
tetradic
#2897B7 #8F28B7 #B74828 #4FB728
square
#2897B7 #8F28B7 #B74828 #4FB728
split-complementary
#2897B7 #B7284F #B78F28
monochromatic
#124453 #1D6E85 #2897B7 #46B6D6 #78CAE1

Accessibility & contrast

On white

3.39
#2897B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#2897B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897B7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897B7#FFFFFF#000000##000000
##2897B71.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8493B9
Deuteranopia (green-blind)
#7186B7
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2897b7;
/* rgb */ color: rgb(40, 151, 183);
/* oklch */ color: oklch(63.0% 0.106 222.1);
Tailwind
colors: {
  custom: {
    50: '#79b5cc',
    500: '#2897b7',
    950: '#000000',
  },
}
SCSS
$custom: #2897b7;
$custom-light: #79b5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2897b7",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 183
  },
  "hsl": {
    "h": 193.427,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.63032,
    "c": 0.10577,
    "h": 222.1
  },
  "luminance": 0.26003
}

Semantic roles & 50–950 ramp

primary
#2897B7
secondary
#C98572
accent
#6641E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2897B7

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

Preview Lab → · Contrast checker → · Palette generator →

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