#2C5582#2C5582

#2C5582 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.088 H 252.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2C5582
RGBrgb(44, 85, 130)
HSLhsl(211, 49%, 34%)
HSVhsv(211, 66%, 51%)
CMYKcmyk(66.2%, 34.6%, 0%, 49%)
CIE-LABlab(35.29, 0.89, -29.54)
CIE-LCHlch(35.29, 29.55, 271.73°)
OKLaboklab(44.19% -0.0266 -0.0836)
OKLCHoklch(44.19% 0.088 252.3)
XYZxyz(8.3150, 8.6434, 22.3449)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5582 #82592C
analogous
#2C8082 #2C5582 #2E2C82
triadic
#2C5582 #822C55 #55822C
tetradic
#2C5582 #822C80 #82592C #2C822E
square
#2C5582 #822C80 #82592C #2C822E
split-complementary
#2C5582 #822E2C #80822C
monochromatic
#0D1927 #1D3754 #2C5582 #3B73B0 #5F92C9

Accessibility & contrast

On white

7.70
#2C5582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C5582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5582
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5582#FFFFFF#000000##FFFFFF
##2C55821.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#005F65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5582;
/* rgb */ color: rgb(44, 85, 130);
/* oklch */ color: oklch(44.2% 0.088 252.3);
Tailwind
colors: {
  custom: {
    50: '#6e84a6',
    500: '#2c5582',
    950: '#000000',
  },
}
SCSS
$custom: #2c5582;
$custom-light: #6e84a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5582",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 130
  },
  "hsl": {
    "h": 211.395,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.08777,
    "h": 252.3
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#2C5582
secondary
#AF875B
accent
#974FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5582

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

Preview Lab → · Contrast checker → · Palette generator →

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