#2887AE#2887AE

#2887AE is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.7% C 0.104 H 230.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2887AE
RGBrgb(40, 135, 174)
HSLhsl(197, 63%, 42%)
HSVhsv(197, 77%, 68%)
CMYKcmyk(77%, 22.4%, 0%, 31.8%)
CIE-LABlab(52.77, -13.72, -28.34)
CIE-LCHlch(52.77, 31.49, 244.16°)
OKLaboklab(58.69% -0.0663 -0.0797)
OKLCHoklch(58.69% 0.104 230.3)
XYZxyz(17.1759, 20.8330, 43.1521)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2887AE #AE4F28
analogous
#28AE92 #2887AE #2844AE
triadic
#2887AE #AE2887 #87AE28
tetradic
#2887AE #9228AE #AE4F28 #44AE28
square
#2887AE #9228AE #AE4F28 #44AE28
split-complementary
#2887AE #AE2844 #AE9228
monochromatic
#113A4A #1D607C #2887AE #40A8D3 #72BFDF

Accessibility & contrast

On white

4.06
#2887AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2887AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2887AE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2887AE#FFFFFF#000000##000000
##2887AE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B0
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2887ae;
/* rgb */ color: rgb(40, 135, 174);
/* oklch */ color: oklch(58.7% 0.104 230.3);
Tailwind
colors: {
  custom: {
    50: '#76aac6',
    500: '#2887ae',
    950: '#000000',
  },
}
SCSS
$custom: #2887ae;
$custom-light: #76aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2887ae",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 197.463,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58687,
    "c": 0.10365,
    "h": 230.3
  },
  "luminance": 0.20835
}

Semantic roles & 50–950 ramp

primary
#2887AE
secondary
#C6866C
accent
#7242E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2887AE

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

Preview Lab → · Contrast checker → · Palette generator →

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