#2C5978#2C5978

#2C5978 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.071 H 241.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2C5978
RGBrgb(44, 89, 120)
HSLhsl(204, 46%, 32%)
HSVhsv(204, 63%, 47%)
CMYKcmyk(63.3%, 25.8%, 0%, 52.9%)
CIE-LABlab(36.05, -5.24, -22.19)
CIE-LCHlch(36.05, 22.80, 256.71°)
OKLaboklab(44.63% -0.0346 -0.0623)
OKLCHoklch(44.63% 0.071 241)
XYZxyz(8.0000, 9.0355, 19.0881)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5978 #784B2C
analogous
#2C7871 #2C5978 #2C3378
triadic
#2C5978 #782C59 #59782C
tetradic
#2C5978 #712C78 #784B2C #33782C
square
#2C5978 #712C78 #784B2C #33782C
split-complementary
#2C5978 #782C33 #78712C
monochromatic
#0B171E #1C384B #2C5978 #3C7AA5 #5B99C3

Accessibility & contrast

On white

7.48
#2C5978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2C5978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5978
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5978#FFFFFF#000000##FFFFFF
##2C59781.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5979
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c5978;
/* rgb */ color: rgb(44, 89, 120);
/* oklch */ color: oklch(44.6% 0.071 241.0);
Tailwind
colors: {
  custom: {
    50: '#6d879f',
    500: '#2c5978',
    950: '#000000',
  },
}
SCSS
$custom: #2c5978;
$custom-light: #6d879f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5978",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 204.474,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.07123,
    "h": 241
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#2C5978
secondary
#A97857
accent
#8852D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5978

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

Preview Lab → · Contrast checker → · Palette generator →

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