#2897B0#2897B0

#2897B0 is a light, moderate cyan. Relative luminance 0.257; OKLCH L 62.7% C 0.101 H 216.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2897B0
RGBrgb(40, 151, 176)
HSLhsl(191, 63%, 42%)
HSVhsv(191, 77%, 69%)
CMYKcmyk(77.3%, 14.2%, 0%, 31%)
CIE-LABlab(57.77, -21.69, -21.78)
CIE-LCHlch(57.77, 30.73, 225.12°)
OKLaboklab(62.72% -0.0812 -0.0608)
OKLCHoklch(62.72% 0.101 216.8)
XYZxyz(19.7748, 25.7165, 44.9874)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897B0 #B04128
analogous
#28B085 #2897B0 #2853B0
triadic
#2897B0 #B02897 #97B028
tetradic
#2897B0 #8528B0 #B04128 #53B028
square
#2897B0 #8528B0 #B04128 #53B028
split-complementary
#2897B0 #B02853 #B08528
monochromatic
#11414C #1D6C7E #2897B0 #41B9D4 #73CBDF

Accessibility & contrast

On white

3.42
#2897B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#2897B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897B0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897B0#FFFFFF#000000##000000
##2897B01.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8692B1
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#00A09F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2897b0;
/* rgb */ color: rgb(40, 151, 176);
/* oklch */ color: oklch(62.7% 0.101 216.8);
Tailwind
colors: {
  custom: {
    50: '#78b5c7',
    500: '#2897b0',
    950: '#000000',
  },
}
SCSS
$custom: #2897b0;
$custom-light: #78b5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2897b0",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 176
  },
  "hsl": {
    "h": 191.029,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.10148,
    "h": 216.8
  },
  "luminance": 0.25719
}

Semantic roles & 50–950 ramp

primary
#2897B0
secondary
#C67E6D
accent
#6042E6
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2897B0

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

Preview Lab → · Contrast checker → · Palette generator →

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