#2887A4#2887A4

#2887A4 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.2% C 0.096 H 222.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2887A4
RGBrgb(40, 135, 164)
HSLhsl(194, 61%, 40%)
HSVhsv(194, 76%, 64%)
CMYKcmyk(75.6%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.35, -17.18, -23.22)
CIE-LCHlch(52.35, 28.89, 233.50°)
OKLaboklab(58.22% -0.0701 -0.065)
OKLCHoklch(58.22% 0.096 222.9)
XYZxyz(16.2371, 20.4575, 38.2077)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2887A4 #A44528
analogous
#28A483 #2887A4 #2849A4
triadic
#2887A4 #A42887 #87A428
tetradic
#2887A4 #8328A4 #A44528 #49A428
square
#2887A4 #8328A4 #A44528 #49A428
split-complementary
#2887A4 #A42849 #A48328
monochromatic
#103642 #1C5F73 #2887A4 #3AACCF #6BC1DB

Accessibility & contrast

On white

4.12
#2887A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2887A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2887A4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2887A4#FFFFFF#000000##000000
##2887A41.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A6
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2887a4;
/* rgb */ color: rgb(40, 135, 164);
/* oklch */ color: oklch(58.2% 0.096 222.9);
Tailwind
colors: {
  custom: {
    50: '#75aabf',
    500: '#2887a4',
    950: '#000000',
  },
}
SCSS
$custom: #2887a4;
$custom-light: #75aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2887a4",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 194.032,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.09558,
    "h": 222.9
  },
  "luminance": 0.20459
}

Semantic roles & 50–950 ramp

primary
#2887A4
secondary
#C17C66
accent
#6944E4
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2887A4

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

Preview Lab → · Contrast checker → · Palette generator →

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