#2887AB#2887AB

#2887AB is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.101 H 228.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2887AB
RGBrgb(40, 135, 171)
HSLhsl(196, 62%, 41%)
HSVhsv(196, 77%, 67%)
CMYKcmyk(76.6%, 21.1%, 0%, 32.9%)
CIE-LABlab(52.64, -14.77, -26.82)
CIE-LCHlch(52.64, 30.61, 241.15°)
OKLaboklab(58.54% -0.0674 -0.0753)
OKLCHoklch(58.54% 0.101 228.2)
XYZxyz(16.8867, 20.7173, 41.6290)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2887AB #AB4C28
analogous
#28AB8E #2887AB #2845AB
triadic
#2887AB #AB2887 #87AB28
tetradic
#2887AB #8E28AB #AB4C28 #45AB28
square
#2887AB #8E28AB #AB4C28 #45AB28
split-complementary
#2887AB #AB2845 #AB8E28
monochromatic
#113948 #1C6079 #2887AB #3EA9D2 #70BFDE

Accessibility & contrast

On white

4.08
#2887AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2887AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2887AB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2887AB#FFFFFF#000000##000000
##2887AB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AD
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2887ab;
/* rgb */ color: rgb(40, 135, 171);
/* oklch */ color: oklch(58.5% 0.101 228.2);
Tailwind
colors: {
  custom: {
    50: '#76aac4',
    500: '#2887ab',
    950: '#000000',
  },
}
SCSS
$custom: #2887ab;
$custom-light: #76aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2887ab",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 196.489,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.10105,
    "h": 228.2
  },
  "luminance": 0.20719
}

Semantic roles & 50–950 ramp

primary
#2887AB
secondary
#C4836A
accent
#6F43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2887AB

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

Preview Lab → · Contrast checker → · Palette generator →

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