#2C5C71#2C5C71

#2C5C71 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.0% C 0.062 H 229.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2C5C71
RGBrgb(44, 92, 113)
HSLhsl(198, 44%, 31%)
HSVhsv(198, 61%, 44%)
CMYKcmyk(61.1%, 18.6%, 0%, 55.7%)
CIE-LABlab(36.71, -9.49, -16.85)
CIE-LCHlch(36.71, 19.34, 240.62°)
OKLaboklab(45.05% -0.0409 -0.047)
OKLCHoklch(45.05% 0.062 229)
XYZxyz(7.8453, 9.3813, 17.0169)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C71 #71412C
analogous
#2C7163 #2C5C71 #2C3971
triadic
#2C5C71 #712C5C #5C712C
tetradic
#2C5C71 #632C71 #71412C #39712C
square
#2C5C71 #632C71 #71412C #39712C
split-complementary
#2C5C71 #712C39 #71632C
monochromatic
#0A1419 #1B3845 #2C5C71 #3D809D #59A0BE

Accessibility & contrast

On white

7.30
#2C5C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5C71
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C71#FFFFFF#000000##FFFFFF
##2C5C711.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#006263
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c5c71;
/* rgb */ color: rgb(44, 92, 113);
/* oklch */ color: oklch(45.0% 0.062 229.0);
Tailwind
colors: {
  custom: {
    50: '#6c8a99',
    500: '#2c5c71',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c71;
$custom-light: #6c8a99;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c71",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 113
  },
  "hsl": {
    "h": 198.261,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.06228,
    "h": 229
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#2C5C71
secondary
#A36D56
accent
#7B54D4
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5C71

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

Preview Lab → · Contrast checker → · Palette generator →

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