#2C5979#2C5979

#2C5979 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.7% C 0.072 H 241.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2C5979
RGBrgb(44, 89, 121)
HSLhsl(205, 47%, 32%)
HSVhsv(205, 64%, 47%)
CMYKcmyk(63.6%, 26.4%, 0%, 52.5%)
CIE-LABlab(36.10, -4.89, -22.73)
CIE-LCHlch(36.10, 23.25, 257.86°)
OKLaboklab(44.68% -0.0342 -0.0638)
OKLCHoklch(44.68% 0.072 241.8)
XYZxyz(8.0610, 9.0599, 19.4094)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5979 #794C2C
analogous
#2C7973 #2C5979 #2C3279
triadic
#2C5979 #792C59 #59792C
tetradic
#2C5979 #732C79 #794C2C #32792C
square
#2C5979 #732C79 #794C2C #32792C
split-complementary
#2C5979 #792C32 #79732C
monochromatic
#0B171F #1C384C #2C5979 #3C7AA6 #5C98C4

Accessibility & contrast

On white

7.47
#2C5979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5979
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5979#FFFFFF#000000##FFFFFF
##2C59791.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5979;
/* rgb */ color: rgb(44, 89, 121);
/* oklch */ color: oklch(44.7% 0.072 241.8);
Tailwind
colors: {
  custom: {
    50: '#6d87a0',
    500: '#2c5979',
    950: '#000000',
  },
}
SCSS
$custom: #2c5979;
$custom-light: #6d87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5979",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 204.935,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.07243,
    "h": 241.8
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#2C5979
secondary
#AA7957
accent
#8951D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5979

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

Preview Lab → · Contrast checker → · Palette generator →

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