#2897B5#2897B5

#2897B5 is a light, moderate cyan. Relative luminance 0.259; OKLCH L 62.9% C 0.104 H 220.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2897B5
RGBrgb(40, 151, 181)
HSLhsl(193, 64%, 43%)
HSVhsv(193, 78%, 71%)
CMYKcmyk(77.9%, 16.6%, 0%, 29%)
CIE-LABlab(57.96, -20.02, -24.32)
CIE-LCHlch(57.96, 31.50, 230.54°)
OKLaboklab(62.94% -0.0792 -0.0681)
OKLCHoklch(62.94% 0.104 220.7)
XYZxyz(20.2787, 25.9180, 47.6410)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897B5 #B54628
analogous
#28B58C #2897B5 #2850B5
triadic
#2897B5 #B52897 #97B528
tetradic
#2897B5 #8C28B5 #B54628 #50B528
square
#2897B5 #8C28B5 #B54628 #50B528
split-complementary
#2897B5 #B52850 #B58C28
monochromatic
#124351 #1D6D83 #2897B5 #44B7D6 #77CAE1

Accessibility & contrast

On white

3.40
#2897B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#2897B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897B5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897B5#FFFFFF#000000##000000
##2897B51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8593B7
Deuteranopia (green-blind)
#7285B5
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2897b5;
/* rgb */ color: rgb(40, 151, 181);
/* oklch */ color: oklch(62.9% 0.104 220.7);
Tailwind
colors: {
  custom: {
    50: '#79b5cb',
    500: '#2897b5',
    950: '#000000',
  },
}
SCSS
$custom: #2897b5;
$custom-light: #79b5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2897b5",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 181
  },
  "hsl": {
    "h": 192.766,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.62943,
    "c": 0.10445,
    "h": 220.7
  },
  "luminance": 0.25921
}

Semantic roles & 50–950 ramp

primary
#2897B5
secondary
#C88370
accent
#6441E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2897B5

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

Preview Lab → · Contrast checker → · Palette generator →

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