#2C5873#2C5873

#2C5873 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.1% C 0.066 H 237.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2C5873
RGBrgb(44, 88, 115)
HSLhsl(203, 45%, 31%)
HSVhsv(203, 62%, 45%)
CMYKcmyk(61.7%, 23.5%, 0%, 54.9%)
CIE-LABlab(35.50, -6.38, -19.95)
CIE-LCHlch(35.50, 20.95, 252.27°)
OKLaboklab(44.12% -0.0352 -0.0558)
OKLCHoklch(44.12% 0.066 237.7)
XYZxyz(7.6218, 8.7520, 17.5040)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5873 #73472C
analogous
#2C736A #2C5873 #2C3473
triadic
#2C5873 #732C58 #58732C
tetradic
#2C5873 #6A2C73 #73472C #34732C
square
#2C5873 #6A2C73 #73472C #34732C
split-complementary
#2C5873 #732C34 #736A2C
monochromatic
#0A141A #1B3647 #2C5873 #3D7A9F #5A99C0

Accessibility & contrast

On white

7.63
#2C5873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5873
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5873#FFFFFF#000000##FFFFFF
##2C58731.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5873;
/* rgb */ color: rgb(44, 88, 115);
/* oklch */ color: oklch(44.1% 0.066 237.7);
Tailwind
colors: {
  custom: {
    50: '#6c879b',
    500: '#2c5873',
    950: '#000000',
  },
}
SCSS
$custom: #2c5873;
$custom-light: #6c879b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5873",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 115
  },
  "hsl": {
    "h": 202.817,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.06603,
    "h": 237.7
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#2C5873
secondary
#A57456
accent
#8453D4
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2C5873

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

Preview Lab → · Contrast checker → · Palette generator →

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