#2877B0#2877B0

#2877B0 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.9% C 0.116 H 244.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2877B0
RGBrgb(40, 119, 176)
HSLhsl(205, 63%, 42%)
HSVhsv(205, 77%, 69%)
CMYKcmyk(77.3%, 32.4%, 0%, 31%)
CIE-LABlab(47.98, -3.75, -36.99)
CIE-LCHlch(47.98, 37.18, 264.22°)
OKLaboklab(54.92% -0.0502 -0.105)
OKLCHoklch(54.92% 0.116 244.4)
XYZxyz(15.3053, 16.7775, 43.4976)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2877B0 #B06128
analogous
#28B0A5 #2877B0 #2833B0
triadic
#2877B0 #B02877 #77B028
tetradic
#2877B0 #A528B0 #B06128 #33B028
square
#2877B0 #A528B0 #B06128 #33B028
split-complementary
#2877B0 #B02833 #B0A528
monochromatic
#11344C #1D557E #2877B0 #4196D4 #73B2DF

Accessibility & contrast

On white

4.82
#2877B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2877B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2877B0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2877B0#FFFFFF#000000##FFFFFF
##2877B01.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B2
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#00858B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2877b0;
/* rgb */ color: rgb(40, 119, 176);
/* oklch */ color: oklch(54.9% 0.116 244.4);
Tailwind
colors: {
  custom: {
    50: '#769ec8',
    500: '#2877b0',
    950: '#000000',
  },
}
SCSS
$custom: #2877b0;
$custom-light: #769ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2877b0",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 176
  },
  "hsl": {
    "h": 205.147,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.11634,
    "h": 244.4
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#2877B0
secondary
#C6936D
accent
#8742E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2877B0

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

Preview Lab → · Contrast checker → · Palette generator →

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