#2877A9#2877A9

#2877A9 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.5% C 0.108 H 241.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2877A9
RGBrgb(40, 119, 169)
HSLhsl(203, 62%, 41%)
HSVhsv(203, 76%, 66%)
CMYKcmyk(76.3%, 29.6%, 0%, 33.7%)
CIE-LABlab(47.63, -6.32, -33.46)
CIE-LCHlch(47.63, 34.05, 259.31°)
OKLaboklab(54.53% -0.0524 -0.0947)
OKLCHoklch(54.53% 0.108 241)
XYZxyz(14.6305, 16.5076, 39.9436)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2877A9 #A95A28
analogous
#28A99A #2877A9 #2836A9
triadic
#2877A9 #A92877 #77A928
tetradic
#2877A9 #9A28A9 #A95A28 #36A928
square
#2877A9 #9A28A9 #A95A28 #36A928
split-complementary
#2877A9 #A92836 #A99A28
monochromatic
#113146 #1C5478 #2877A9 #3D98D1 #6FB2DD

Accessibility & contrast

On white

4.88
#2877A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2877A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2877A9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2877A9#FFFFFF#000000##FFFFFF
##2877A91.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6078AB
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#008389
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2877a9;
/* rgb */ color: rgb(40, 119, 169);
/* oklch */ color: oklch(54.5% 0.108 241.0);
Tailwind
colors: {
  custom: {
    50: '#759ec3',
    500: '#2877a9',
    950: '#000000',
  },
}
SCSS
$custom: #2877a9;
$custom-light: #759ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2877a9",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 169
  },
  "hsl": {
    "h": 203.256,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.10819,
    "h": 241
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#2877A9
secondary
#C48C69
accent
#8243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2877A9

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

Preview Lab → · Contrast checker → · Palette generator →

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