#2C5B79#2C5B79

#2C5B79 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.2% C 0.071 H 239.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2C5B79
RGBrgb(44, 91, 121)
HSLhsl(203, 47%, 32%)
HSVhsv(203, 64%, 47%)
CMYKcmyk(63.6%, 24.8%, 0%, 52.5%)
CIE-LABlab(36.74, -6.12, -21.74)
CIE-LCHlch(36.74, 22.58, 254.28°)
OKLaboklab(45.18% -0.0366 -0.061)
OKLCHoklch(45.18% 0.071 239)
XYZxyz(8.2297, 9.3973, 19.4656)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B79 #794A2C
analogous
#2C7971 #2C5B79 #2C3479
triadic
#2C5B79 #792C5B #5B792C
tetradic
#2C5B79 #712C79 #794A2C #34792C
square
#2C5B79 #712C79 #794A2C #34792C
split-complementary
#2C5B79 #792C34 #79712C
monochromatic
#0B171F #1C394C #2C5B79 #3C7DA6 #5C9BC4

Accessibility & contrast

On white

7.29
#2C5B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2C5B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5B79
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B79#FFFFFF#000000##FFFFFF
##2C5B791.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7A
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#006365
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c5b79;
/* rgb */ color: rgb(44, 91, 121);
/* oklch */ color: oklch(45.2% 0.071 239.0);
Tailwind
colors: {
  custom: {
    50: '#6d899f',
    500: '#2c5b79',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b79;
$custom-light: #6d899f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b79",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 121
  },
  "hsl": {
    "h": 203.377,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.0711,
    "h": 239
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#2C5B79
secondary
#AA7757
accent
#8551D6
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5B79

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

Preview Lab → · Contrast checker → · Palette generator →

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