#2C5879#2C5879

#2C5879 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.4% C 0.073 H 243.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2C5879
RGBrgb(44, 88, 121)
HSLhsl(206, 47%, 32%)
HSVhsv(206, 64%, 47%)
CMYKcmyk(63.6%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.78, -4.27, -23.23)
CIE-LCHlch(35.78, 23.62, 259.59°)
OKLaboklab(44.43% -0.033 -0.0653)
OKLCHoklch(44.43% 0.073 243.2)
XYZxyz(7.9783, 8.8946, 19.3818)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5879 #794D2C
analogous
#2C7974 #2C5879 #2C3279
triadic
#2C5879 #792C58 #58792C
tetradic
#2C5879 #742C79 #794D2C #32792C
square
#2C5879 #742C79 #794D2C #32792C
split-complementary
#2C5879 #792C32 #79742C
monochromatic
#0B171F #1C374C #2C5879 #3C79A6 #5C97C4

Accessibility & contrast

On white

7.56
#2C5879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C5879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5879
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5879#FFFFFF#000000##FFFFFF
##2C58791.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#3F5178
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5879;
/* rgb */ color: rgb(44, 88, 121);
/* oklch */ color: oklch(44.4% 0.073 243.2);
Tailwind
colors: {
  custom: {
    50: '#6d87a0',
    500: '#2c5879',
    950: '#000000',
  },
}
SCSS
$custom: #2c5879;
$custom-light: #6d87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5879",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 205.714,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44427,
    "c": 0.07317,
    "h": 243.2
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#2C5879
secondary
#AA7A57
accent
#8A51D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5879

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

Preview Lab → · Contrast checker → · Palette generator →

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