#2C879D#2C879D

#2C879D is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.089 H 217.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C879D
RGBrgb(44, 135, 157)
HSLhsl(192, 56%, 39%)
HSVhsv(192, 72%, 62%)
CMYKcmyk(72%, 14%, 0%, 38.4%)
CIE-LABlab(52.17, -19.00, -19.44)
CIE-LCHlch(52.17, 27.18, 225.66°)
OKLaboklab(58.01% -0.071 -0.0542)
OKLCHoklch(58.01% 0.089 217.4)
XYZxyz(15.7859, 20.2959, 34.9773)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C879D #9D422C
analogous
#2C9D7A #2C879D #2C4F9D
triadic
#2C879D #9D2C87 #879D2C
tetradic
#2C879D #7A2C9D #9D422C #4F9D2C
square
#2C879D #7A2C9D #9D422C #4F9D2C
split-complementary
#2C879D #9D2C4F #9D7A2C
monochromatic
#11353D #1F5E6D #2C879D #3DAEC9 #6DC2D6

Accessibility & contrast

On white

4.15
#2C879D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2C879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C879D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C879D#FFFFFF#000000##000000
##2C879D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839E
Deuteranopia (green-blind)
#69779D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c879d;
/* rgb */ color: rgb(44, 135, 157);
/* oklch */ color: oklch(58.0% 0.089 217.4);
Tailwind
colors: {
  custom: {
    50: '#75aaba',
    500: '#2c879d',
    950: '#000000',
  },
}
SCSS
$custom: #2c879d;
$custom-light: #75aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c879d",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 191.681,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.08935,
    "h": 217.4
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#2C879D
secondary
#BD7868
accent
#6648E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2C879D

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

Preview Lab → · Contrast checker → · Palette generator →

#2C879D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva