#2877C5#2877C5

#2877C5 is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.2% C 0.142 H 251.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2877C5
RGBrgb(40, 119, 197)
HSLhsl(210, 66%, 46%)
HSVhsv(210, 80%, 77%)
CMYKcmyk(79.7%, 39.6%, 0%, 22.7%)
CIE-LABlab(49.10, 4.10, -47.33)
CIE-LCHlch(49.10, 47.51, 274.95°)
OKLaboklab(56.16% -0.0445 -0.1352)
OKLCHoklch(56.16% 0.142 251.8)
XYZxyz(17.5461, 17.6739, 55.2991)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2877C5 #C57628
analogous
#28C5C5 #2877C5 #2828C5
triadic
#2877C5 #C52877 #77C528
tetradic
#2877C5 #C528C5 #C57628 #28C528
square
#2877C5 #C528C5 #C57628 #28C528
split-complementary
#2877C5 #C52828 #C5C528
monochromatic
#133A5F #1E5892 #2877C5 #4F96DB #82B4E6

Accessibility & contrast

On white

4.63
#2877C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2877C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2877C5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2877C5#FFFFFF#000000##FFFFFF
##2877C51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#517CC8
Deuteranopia (green-blind)
#386EC3
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2877c5;
/* rgb */ color: rgb(40, 119, 197);
/* oklch */ color: oklch(56.2% 0.142 251.8);
Tailwind
colors: {
  custom: {
    50: '#7a9dd7',
    500: '#2877c5',
    950: '#000000',
  },
}
SCSS
$custom: #2877c5;
$custom-light: #7a9dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2877c5",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 197
  },
  "hsl": {
    "h": 209.809,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.14236,
    "h": 251.8
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#2877C5
secondary
#CEA47A
accent
#933FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2877C5

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

Preview Lab → · Contrast checker → · Palette generator →

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