#2C5872#2C5872

#2C5872 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.065 H 236.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2C5872
RGBrgb(44, 88, 114)
HSLhsl(202, 44%, 31%)
HSVhsv(202, 61%, 45%)
CMYKcmyk(61.4%, 22.8%, 0%, 55.3%)
CIE-LABlab(35.46, -6.73, -19.40)
CIE-LCHlch(35.46, 20.53, 250.88°)
OKLaboklab(44.06% -0.0356 -0.0543)
OKLCHoklch(44.06% 0.065 236.7)
XYZxyz(7.5645, 8.7291, 17.2026)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5872 #72462C
analogous
#2C7269 #2C5872 #2C3572
triadic
#2C5872 #722C58 #58722C
tetradic
#2C5872 #692C72 #72462C #35722C
square
#2C5872 #692C72 #72462C #35722C
split-complementary
#2C5872 #722C35 #72692C
monochromatic
#0A141A #1B3646 #2C5872 #3D7A9E #5999BF

Accessibility & contrast

On white

7.65
#2C5872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C5872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5872
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5872#FFFFFF#000000##FFFFFF
##2C58721.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5773
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5872;
/* rgb */ color: rgb(44, 88, 114);
/* oklch */ color: oklch(44.1% 0.065 236.7);
Tailwind
colors: {
  custom: {
    50: '#6c879a',
    500: '#2c5872',
    950: '#000000',
  },
}
SCSS
$custom: #2c5872;
$custom-light: #6c879a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5872",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 114
  },
  "hsl": {
    "h": 202.286,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.06491,
    "h": 236.7
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#2C5872
secondary
#A47356
accent
#8354D4
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5872

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

Preview Lab → · Contrast checker → · Palette generator →

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