#2C5571#2C5571

#2C5571 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.2% C 0.066 H 240.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2C5571
RGBrgb(44, 85, 113)
HSLhsl(204, 44%, 31%)
HSVhsv(204, 61%, 44%)
CMYKcmyk(61.1%, 24.8%, 0%, 55.7%)
CIE-LABlab(34.45, -5.22, -20.35)
CIE-LCHlch(34.45, 21.01, 255.60°)
OKLaboklab(43.25% -0.0323 -0.057)
OKLCHoklch(43.25% 0.066 240.4)
XYZxyz(7.2667, 8.2241, 16.8240)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5571 #71482C
analogous
#2C716A #2C5571 #2C3271
triadic
#2C5571 #712C55 #55712C
tetradic
#2C5571 #6A2C71 #71482C #32712C
square
#2C5571 #6A2C71 #71482C #32712C
split-complementary
#2C5571 #712C32 #716A2C
monochromatic
#0A1319 #1B3445 #2C5571 #3D769D #5995BE

Accessibility & contrast

On white

7.94
#2C5571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C5571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5571
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5571#FFFFFF#000000##FFFFFF
##2C55711.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485572
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#005C5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5571;
/* rgb */ color: rgb(44, 85, 113);
/* oklch */ color: oklch(43.2% 0.066 240.4);
Tailwind
colors: {
  custom: {
    50: '#6c849a',
    500: '#2c5571',
    950: '#000000',
  },
}
SCSS
$custom: #2c5571;
$custom-light: #6c849a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5571",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 113
  },
  "hsl": {
    "h": 204.348,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.06552,
    "h": 240.4
  },
  "luminance": 0.08225
}

Semantic roles & 50–950 ramp

primary
#2C5571
secondary
#A37556
accent
#8854D4
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5571

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

Preview Lab → · Contrast checker → · Palette generator →

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