#2897BD#2897BD

#2897BD is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.3% C 0.110 H 226.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2897BD
RGBrgb(40, 151, 189)
HSLhsl(195, 65%, 45%)
HSVhsv(195, 79%, 74%)
CMYKcmyk(78.8%, 20.1%, 0%, 25.9%)
CIE-LABlab(58.28, -17.31, -28.35)
CIE-LCHlch(58.28, 33.22, 238.60°)
OKLaboklab(63.31% -0.0762 -0.0796)
OKLCHoklch(63.31% 0.11 226.3)
XYZxyz(21.1232, 26.2559, 52.0888)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897BD #BD4E28
analogous
#28BD99 #2897BD #284CBD
triadic
#2897BD #BD2897 #97BD28
tetradic
#2897BD #9928BD #BD4E28 #4CBD28
square
#2897BD #9928BD #BD4E28 #4CBD28
split-complementary
#2897BD #BD284C #BD9928
monochromatic
#134658 #1D6F8A #2897BD #4AB4D9 #7CC9E3

Accessibility & contrast

On white

3.36
#2897BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#2897BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897BD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897BD#FFFFFF#000000##000000
##2897BD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294BF
Deuteranopia (green-blind)
#6F86BD
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2897bd;
/* rgb */ color: rgb(40, 151, 189);
/* oklch */ color: oklch(63.3% 0.110 226.3);
Tailwind
colors: {
  custom: {
    50: '#7ab5d1',
    500: '#2897bd',
    950: '#000000',
  },
}
SCSS
$custom: #2897bd;
$custom-light: #7ab5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2897bd",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 195.302,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.11017,
    "h": 226.3
  },
  "luminance": 0.26258
}

Semantic roles & 50–950 ramp

primary
#2897BD
secondary
#CB8B75
accent
#6B40E8
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2897BD

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

Preview Lab → · Contrast checker → · Palette generator →

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