#2C879C#2C879C

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

Color values

HEX#2C879C
RGBrgb(44, 135, 156)
HSLhsl(191, 56%, 39%)
HSVhsv(191, 72%, 61%)
CMYKcmyk(71.8%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.13, -19.33, -18.92)
CIE-LCHlch(52.13, 27.04, 224.39°)
OKLaboklab(57.97% -0.0714 -0.0527)
OKLCHoklch(57.97% 0.089 216.4)
XYZxyz(15.7009, 20.2619, 34.5295)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C879C #9C412C
analogous
#2C9C79 #2C879C #2C4F9C
triadic
#2C879C #9C2C87 #879C2C
tetradic
#2C879C #792C9C #9C412C #4F9C2C
square
#2C879C #792C9C #9C412C #4F9C2C
split-complementary
#2C879C #9C2C4F #9C792C
monochromatic
#11343D #1F5E6C #2C879C #3DAEC8 #6DC2D6

Accessibility & contrast

On white

4.16
#2C879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2C879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C879C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C879C#FFFFFF#000000##000000
##2C879C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c879c;
/* rgb */ color: rgb(44, 135, 156);
/* oklch */ color: oklch(58.0% 0.089 216.4);
Tailwind
colors: {
  custom: {
    50: '#75aab9',
    500: '#2c879c',
    950: '#000000',
  },
}
SCSS
$custom: #2c879c;
$custom-light: #75aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c879c",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 191.25,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.08878,
    "h": 216.4
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#2C879C
secondary
#BD7767
accent
#6549DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2C879C

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

Preview Lab → · Contrast checker → · Palette generator →

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