#2C879E#2C879E

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

Color values

HEX#2C879E
RGBrgb(44, 135, 158)
HSLhsl(192, 56%, 40%)
HSVhsv(192, 72%, 62%)
CMYKcmyk(72.2%, 14.6%, 0%, 38%)
CIE-LABlab(52.21, -18.66, -19.96)
CIE-LCHlch(52.21, 27.33, 226.92°)
OKLaboklab(58.05% -0.0706 -0.0557)
OKLCHoklch(58.05% 0.09 218.3)
XYZxyz(15.8717, 20.3302, 35.4288)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C879E #9E432C
analogous
#2C9E7C #2C879E #2C4E9E
triadic
#2C879E #9E2C87 #879E2C
tetradic
#2C879E #7C2C9E #9E432C #4E9E2C
square
#2C879E #7C2C9E #9E432C #4E9E2C
split-complementary
#2C879E #9E2C4E #9E7C2C
monochromatic
#11353E #1F5E6E #2C879E #3EADC9 #6EC1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C879E#FFFFFF#000000##000000
##2C879E1.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)
#78839F
Deuteranopia (green-blind)
#68789E
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c879e;
/* rgb */ color: rgb(44, 135, 158);
/* oklch */ color: oklch(58.1% 0.090 218.3);
Tailwind
colors: {
  custom: {
    50: '#75aaba',
    500: '#2c879e',
    950: '#000000',
  },
}
SCSS
$custom: #2c879e;
$custom-light: #75aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c879e",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 192.105,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.08993,
    "h": 218.3
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#2C879E
secondary
#BE7968
accent
#6748E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2C879E

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

Preview Lab → · Contrast checker → · Palette generator →

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