#2C6879#2C6879

#2C6879 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.5% C 0.067 H 219.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2C6879
RGBrgb(44, 104, 121)
HSLhsl(193, 47%, 32%)
HSVhsv(193, 64%, 47%)
CMYKcmyk(63.6%, 14%, 0%, 52.5%)
CIE-LABlab(40.92, -13.81, -15.30)
CIE-LCHlch(40.92, 20.61, 227.93°)
OKLaboklab(48.52% -0.0519 -0.0425)
OKLCHoklch(48.52% 0.067 219.3)
XYZxyz(9.4388, 11.8156, 19.8687)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6879 #793D2C
analogous
#2C7964 #2C6879 #2C4179
triadic
#2C6879 #792C68 #68792C
tetradic
#2C6879 #642C79 #793D2C #41792C
square
#2C6879 #642C79 #793D2C #41792C
split-complementary
#2C6879 #792C41 #79642C
monochromatic
#0B1B1F #1C414C #2C6879 #3C8FA6 #5CADC4

Accessibility & contrast

On white

6.24
#2C6879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2C6879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6879
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6879#FFFFFF#000000##FFFFFF
##2C68791.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D657A
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#006E6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c6879;
/* rgb */ color: rgb(44, 104, 121);
/* oklch */ color: oklch(48.5% 0.067 219.3);
Tailwind
colors: {
  custom: {
    50: '#6e939f',
    500: '#2c6879',
    950: '#000000',
  },
}
SCSS
$custom: #2c6879;
$custom-light: #6e939f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6879",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 121
  },
  "hsl": {
    "h": 193.247,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.48519,
    "c": 0.06711,
    "h": 219.3
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#2C6879
secondary
#AA6957
accent
#6F51D6
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #2C6879

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

Preview Lab → · Contrast checker → · Palette generator →

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