#2C879F#2C879F

#2C879F is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.1% C 0.091 H 219.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2C879F
RGBrgb(44, 135, 159)
HSLhsl(193, 57%, 40%)
HSVhsv(193, 72%, 62%)
CMYKcmyk(72.3%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.25, -18.33, -20.48)
CIE-LCHlch(52.25, 27.49, 228.17°)
OKLaboklab(58.1% -0.0702 -0.0572)
OKLCHoklch(58.1% 0.091 219.2)
XYZxyz(15.9581, 20.3648, 35.8839)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C879F #9F442C
analogous
#2C9F7E #2C879F #2C4D9F
triadic
#2C879F #9F2C87 #879F2C
tetradic
#2C879F #7E2C9F #9F442C #4D9F2C
square
#2C879F #7E2C9F #9F442C #4D9F2C
split-complementary
#2C879F #9F2C4D #9F7E2C
monochromatic
#11363F #1F5E6F #2C879F #3EADCA #6EC1D7

Accessibility & contrast

On white

4.14
#2C879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2C879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C879F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C879F#FFFFFF#000000##000000
##2C879F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#68789F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c879f;
/* rgb */ color: rgb(44, 135, 159);
/* oklch */ color: oklch(58.1% 0.091 219.2);
Tailwind
colors: {
  custom: {
    50: '#75aabb',
    500: '#2c879f',
    950: '#000000',
  },
}
SCSS
$custom: #2c879f;
$custom-light: #75aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c879f",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 192.522,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.09053,
    "h": 219.2
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#2C879F
secondary
#BE7B69
accent
#6848E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2C879F

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

Preview Lab → · Contrast checker → · Palette generator →

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