#2877A1#2877A1

#2877A1 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.1% C 0.099 H 236.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2877A1
RGBrgb(40, 119, 161)
HSLhsl(201, 60%, 39%)
HSVhsv(201, 75%, 63%)
CMYKcmyk(75.2%, 26.1%, 0%, 36.9%)
CIE-LABlab(47.26, -9.22, -29.37)
CIE-LCHlch(47.26, 30.78, 252.58°)
OKLaboklab(54.11% -0.0551 -0.0828)
OKLCHoklch(54.11% 0.099 236.4)
XYZxyz(13.9024, 16.2164, 36.1087)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2877A1 #A15228
analogous
#28A18E #2877A1 #283BA1
triadic
#2877A1 #A12877 #77A128
tetradic
#2877A1 #8E28A1 #A15228 #3BA128
square
#2877A1 #8E28A1 #A15228 #3BA128
split-complementary
#2877A1 #A1283B #A18E28
monochromatic
#102F3F #1C5370 #2877A1 #399ACE #6AB3DA

Accessibility & contrast

On white

4.95
#2877A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2877A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2877A1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2877A1#FFFFFF#000000##FFFFFF
##2877A11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6377A3
Deuteranopia (green-blind)
#526BA0
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2877a1;
/* rgb */ color: rgb(40, 119, 161);
/* oklch */ color: oklch(54.1% 0.099 236.4);
Tailwind
colors: {
  custom: {
    50: '#739ebd',
    500: '#2877a1',
    950: '#000000',
  },
}
SCSS
$custom: #2877a1;
$custom-light: #739ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2877a1",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 161
  },
  "hsl": {
    "h": 200.826,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.09946,
    "h": 236.4
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#2877A1
secondary
#C08465
accent
#7C44E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2877A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2877A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva