#2C5876#2C5876

#2C5876 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.070 H 240.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2C5876
RGBrgb(44, 88, 118)
HSLhsl(204, 46%, 32%)
HSVhsv(204, 63%, 46%)
CMYKcmyk(62.7%, 25.4%, 0%, 53.7%)
CIE-LABlab(35.64, -5.33, -21.60)
CIE-LCHlch(35.64, 22.24, 256.14°)
OKLaboklab(44.27% -0.0341 -0.0606)
OKLCHoklch(44.27% 0.07 240.6)
XYZxyz(7.7972, 8.8222, 18.4280)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5876 #764A2C
analogous
#2C766F #2C5876 #2C3376
triadic
#2C5876 #762C58 #58762C
tetradic
#2C5876 #6F2C76 #764A2C #33762C
square
#2C5876 #6F2C76 #764A2C #33762C
split-complementary
#2C5876 #762C33 #766F2C
monochromatic
#0B161D #1B3749 #2C5876 #3D79A3 #5B98C2

Accessibility & contrast

On white

7.60
#2C5876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C5876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5876
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5876#FFFFFF#000000##FFFFFF
##2C58761.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5877
Deuteranopia (green-blind)
#405175
Tritanopia (blue-blind)
#005F62
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5876;
/* rgb */ color: rgb(44, 88, 118);
/* oklch */ color: oklch(44.3% 0.070 240.6);
Tailwind
colors: {
  custom: {
    50: '#6c879d',
    500: '#2c5876',
    950: '#000000',
  },
}
SCSS
$custom: #2c5876;
$custom-light: #6c879d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5876",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 118
  },
  "hsl": {
    "h": 204.324,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44269,
    "c": 0.06951,
    "h": 240.6
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#2C5876
secondary
#A77756
accent
#8852D5
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5876

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

Preview Lab → · Contrast checker → · Palette generator →

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