#2877BD#2877BD

#2877BD is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.7% C 0.132 H 249.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2877BD
RGBrgb(40, 119, 189)
HSLhsl(208, 65%, 45%)
HSVhsv(208, 79%, 74%)
CMYKcmyk(78.8%, 37%, 0%, 25.9%)
CIE-LABlab(48.66, 1.09, -43.44)
CIE-LCHlch(48.66, 43.45, 271.44°)
OKLaboklab(55.67% -0.0465 -0.1238)
OKLCHoklch(55.67% 0.132 249.4)
XYZxyz(16.6537, 17.3169, 50.5990)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2877BD #BD6E28
analogous
#28BDB9 #2877BD #282CBD
triadic
#2877BD #BD2877 #77BD28
tetradic
#2877BD #B928BD #BD6E28 #2CBD28
square
#2877BD #B928BD #BD6E28 #2CBD28
split-complementary
#2877BD #BD282C #BDB928
monochromatic
#133758 #1D578A #2877BD #4A95D9 #7CB3E3

Accessibility & contrast

On white

4.70
#2877BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2877BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2877BD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2877BD#FFFFFF#000000##FFFFFF
##2877BD1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#567BC0
Deuteranopia (green-blind)
#406DBC
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2877bd;
/* rgb */ color: rgb(40, 119, 189);
/* oklch */ color: oklch(55.7% 0.132 249.4);
Tailwind
colors: {
  custom: {
    50: '#799dd1',
    500: '#2877bd',
    950: '#000000',
  },
}
SCSS
$custom: #2877bd;
$custom-light: #799dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2877bd",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 208.188,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.13225,
    "h": 249.4
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

primary
#2877BD
secondary
#CB9E75
accent
#8F40E8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2877BD

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

Preview Lab → · Contrast checker → · Palette generator →

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