#2877A0#2877A0

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

Color values

HEX#2877A0
RGBrgb(40, 119, 160)
HSLhsl(201, 60%, 39%)
HSVhsv(201, 75%, 63%)
CMYKcmyk(75%, 25.6%, 0%, 37.3%)
CIE-LABlab(47.21, -9.58, -28.86)
CIE-LCHlch(47.21, 30.40, 251.64°)
OKLaboklab(54.06% -0.0554 -0.0813)
OKLCHoklch(54.06% 0.098 235.7)
XYZxyz(13.8145, 16.1812, 35.6461)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2877A0 #A05128
analogous
#28A08D #2877A0 #283BA0
triadic
#2877A0 #A02877 #77A028
tetradic
#2877A0 #8D28A0 #A05128 #3BA028
square
#2877A0 #8D28A0 #A05128 #3BA028
split-complementary
#2877A0 #A0283B #A08D28
monochromatic
#102E3E #1C536F #2877A0 #389ACD #69B3D9

Accessibility & contrast

On white

4.96
#2877A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2877A0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2877A0#FFFFFF#000000##FFFFFF
##2877A01.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6376A2
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2877a0;
/* rgb */ color: rgb(40, 119, 160);
/* oklch */ color: oklch(54.1% 0.098 235.7);
Tailwind
colors: {
  custom: {
    50: '#739ebc',
    500: '#2877a0',
    950: '#000000',
  },
}
SCSS
$custom: #2877a0;
$custom-light: #739ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2877a0",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 160
  },
  "hsl": {
    "h": 200.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.09841,
    "h": 235.7
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#2877A0
secondary
#C08364
accent
#7B45E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2877A0

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

Preview Lab → · Contrast checker → · Palette generator →

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