#2897BC#2897BC

#2897BC is a light, moderate cyan. Relative luminance 0.262; OKLCH L 63.3% C 0.109 H 225.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2897BC
RGBrgb(40, 151, 188)
HSLhsl(195, 65%, 45%)
HSVhsv(195, 79%, 74%)
CMYKcmyk(78.7%, 19.7%, 0%, 26.3%)
CIE-LABlab(58.24, -17.65, -27.85)
CIE-LCHlch(58.24, 32.97, 237.64°)
OKLaboklab(63.26% -0.0765 -0.0782)
OKLCHoklch(63.26% 0.109 225.6)
XYZxyz(21.0150, 26.2126, 51.5192)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2897BC #BC4D28
analogous
#28BC97 #2897BC #284DBC
triadic
#2897BC #BC2897 #97BC28
tetradic
#2897BC #9728BC #BC4D28 #4DBC28
square
#2897BC #9728BC #BC4D28 #4DBC28
split-complementary
#2897BC #BC284D #BC9728
monochromatic
#134657 #1D6E8A #2897BC #49B4D8 #7BC9E3

Accessibility & contrast

On white

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

On black

6.24
#2897BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2897BC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2897BC#FFFFFF#000000##000000
##2897BC1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BE
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2897bc;
/* rgb */ color: rgb(40, 151, 188);
/* oklch */ color: oklch(63.3% 0.109 225.6);
Tailwind
colors: {
  custom: {
    50: '#7ab5d0',
    500: '#2897bc',
    950: '#000000',
  },
}
SCSS
$custom: #2897bc;
$custom-light: #7ab5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2897bc",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 195,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63259,
    "c": 0.1094,
    "h": 225.6
  },
  "luminance": 0.26215
}

Semantic roles & 50–950 ramp

primary
#2897BC
secondary
#CB8A75
accent
#6A40E8
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2897BC

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

Preview Lab → · Contrast checker → · Palette generator →

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