#2887A7#2887A7

#2887A7 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.4% C 0.098 H 225.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2887A7
RGBrgb(40, 135, 167)
HSLhsl(195, 61%, 41%)
HSVhsv(195, 76%, 65%)
CMYKcmyk(76%, 19.2%, 0%, 34.5%)
CIE-LABlab(52.47, -16.15, -24.77)
CIE-LCHlch(52.47, 29.57, 236.89°)
OKLaboklab(58.36% -0.0689 -0.0694)
OKLCHoklch(58.36% 0.098 225.2)
XYZxyz(16.5112, 20.5671, 39.6514)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2887A7 #A74828
analogous
#28A787 #2887A7 #2847A7
triadic
#2887A7 #A72887 #87A728
tetradic
#2887A7 #8728A7 #A74828 #47A728
square
#2887A7 #8728A7 #A74828 #47A728
split-complementary
#2887A7 #A72847 #A78728
monochromatic
#103744 #1C5F76 #2887A7 #3CABD0 #6DC0DC

Accessibility & contrast

On white

4.11
#2887A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2887A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2887A7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2887A7#FFFFFF#000000##000000
##2887A71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584A9
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2887a7;
/* rgb */ color: rgb(40, 135, 167);
/* oklch */ color: oklch(58.4% 0.098 225.2);
Tailwind
colors: {
  custom: {
    50: '#75aac1',
    500: '#2887a7',
    950: '#000000',
  },
}
SCSS
$custom: #2887a7;
$custom-light: #75aac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2887a7",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 167
  },
  "hsl": {
    "h": 195.118,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.09781,
    "h": 225.2
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#2887A7
secondary
#C37F68
accent
#6C43E4
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2887A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2887A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva